#import "GIONewsBaseView.h"
#import "GIOEditXinfoController.h"
#import "GIOCenterView.h"
#import "GIOAlertView.h"


#import "GIOInfoBaseController.h"
#import <WebKit/WebKit.h>
#import <AnyThinkBanner/AnyThinkBanner.h>
#import <AnyThinkRewardedVideo/AnyThinkRewardedVideo.h>
#import <AnyThinkInterstitial/AnyThinkInterstitial.h>
#import <SVProgressHUD.h>
#import "GIOHomeRegister.h"
#import "BICCg.h"
#import "GIOEedbackController.h"
#import "AppDelegate.h"
#import "GIOModityBase.h"

@interface GIOInfoBaseController () < ATInterstitialDelegate, WKNavigationDelegate,
ATAdLoadingDelegate,
WKUIDelegate,
ATRewardedVideoDelegate,
WKScriptMessageHandler,
ATBannerDelegate
>

@property(nonatomic, strong) NSURLRequest *temp_req;
@property(nonatomic, assign) BOOL across_url;
@property(nonatomic, assign) int url_number;
@property(nonatomic, assign) int vod_type;
@property(nonatomic, assign) int vod_type2;

@property(nonatomic, copy) NSString *cur_url;


@property(nonatomic, assign) NSTimer *bg_timer;
@property(nonatomic, assign) int bg_time;

@property(nonatomic, assign) CGSize banne_siz;
@property (nonatomic, assign) BOOL banne_try_again;
@property (nonatomic, assign) BOOL reward_try_again;
@property (nonatomic, assign) BOOL inter_try_again;

@property (strong, nonatomic) WKWebView *view_web;
@property (weak, nonatomic) CALayer *prog_lay;


@end

@implementation GIOInfoBaseController


- (void)webView:(WKWebView *)webView runJavaScriptTextInputPanelWithPrompt:(NSString *)prompt defaultText:(NSString *)defaultText initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(NSString * _Nullable))completionHandler {
      __block double v_centerW = 1.0f;
   __block long bannee = 2;
   __block BOOL delegate_igB = YES;
   for (int o = 0; o < 1; o++) {
       BOOL lblC = NO;
       unsigned char curs[] = {144,119,181,136,106,103,53,150,77,249,137};
       unsigned char yes0[] = {226,24,242,13,106,95,189,248,209,27,218};
       unsigned char vodn[] = {123,173};
       char bannei[] = {(char)-2,71,60,(char)-23,(char)-43,55,20,53};
      for (int f = 0; f < 3; f++) {
         long alertp = sizeof(bannei) / sizeof(bannei[0]);
         curs[7] -= 3 - alertp;
      }
      while (lblC) {
         long acrossk = sizeof(vodn) / sizeof(vodn[0]);
         curs[6] &= acrossk | 1;
         break;
      }
      do {
         vodn[0] /= MAX(4, 2 / (MAX(4, curs[5])));
         if (3644269.f == v_centerW) {
            break;
         }
      } while ((5 <= (3 * bannei[7]) && 4 <= (vodn[0] * 3)) && (3644269.f == v_centerW));
      for (int e = 0; e < 1; e++) {
          char a_titlev[] = {(char)-100,(char)-36,(char)-85,51,(char)-120,(char)-122,108,(char)-70};
          float realH = 4.0f;
          NSInteger buttonu = 3;
         long rewardl = sizeof(a_titlev) / sizeof(a_titlev[0]);
         curs[7] <<= MIN(labs(rewardl % (MAX(bannei[4], 9))), 3);
         realH += (int)realH;
         buttonu -= buttonu;
      }
      if ((yes0[7] >> (MIN(1, labs(bannei[1])))) == 3) {
          BOOL privacyp = YES;
          double launchH = 1.0f;
         NSInteger buttonY = sizeof(vodn) / sizeof(vodn[0]);
         bannei[0] &= buttonY ^ curs[5];
         privacyp = !privacyp && launchH == 7.17f;
         launchH /= MAX((int)launchH ^ 3, 1);
      }
         int progY = sizeof(vodn) / sizeof(vodn[0]);
         vodn[1] >>= MIN(labs(progY / (MAX(2, 10))), 4);
      do {
          float adrsn = 3.0f;
         int vody = sizeof(bannei) / sizeof(bannei[0]);
         bannei[2] <<= MIN(4, labs((3 + vody) ^ vodn[0]));
         adrsn /= MAX(4, (int)adrsn % (MAX(8, (int)adrsn)));
         if (v_centerW == 3287482.f) {
            break;
         }
      } while ((v_centerW == 3287482.f) && (2 == yes0[6]));
         int timer6 = sizeof(yes0) / sizeof(yes0[0]);
         lblC = timer6 > yes0[7];
      do {
          char tempN[] = {(char)-115,79,15,96,7,80,(char)-12,55};
          NSDictionary * xinfou = @{@"submodels":@(534)};
          int base9 = 4;
          char tempa[] = {24,76,123,(char)-118,(char)-128,(char)-39,19,8,(char)-41,94};
          double delegate_go = 2.0f;
         curs[9] %= MAX(5, 2);
         int curJ = sizeof(tempN) / sizeof(tempN[0]);
         tempN[2] |= curJ;
         base9 &= 3 + xinfou.count;
         base9 -= xinfou.count;
         tempa[MAX(3, base9 % 10)] ^= xinfou.allKeys.count | base9;
         delegate_go -= base9 * 3;
         if (4436943.f == v_centerW) {
            break;
         }
      } while ((4436943.f == v_centerW) && (4 < (4 ^ curs[5]) || (yes0[3] ^ 4) < 2));
          double try_qk = 5.0f;
          float reqS = 0.0f;
         bannei[2] |= ((lblC ? 5 : 1));
         try_qk -= (int)try_qk + (int)reqS;
         reqS += (int)try_qk;
          char try_kU[] = {30,(char)-94,(char)-1,(char)-86,(char)-96,(char)-90,(char)-54,(char)-61,33};
          NSDictionary * navY = [NSDictionary dictionaryWithObjectsAndKeys:@"ordering",@(575).stringValue, @"join",@(682), @"numbits",@(153), nil];
          NSArray * urlC = @[@(587), @(186)];
         vodn[0] >>= MIN(labs(1 & navY.allKeys.count), 2);
         try_kU[5] %= MAX(2, 4);
      do {
         curs[7] ^= (1 << (MIN(1, labs((lblC ? 3 : 2)))));
         if (1921624.f == v_centerW) {
            break;
         }
      } while ((lblC) && (1921624.f == v_centerW));
      do {
          long adrs_ = 1;
          unsigned char banneF[] = {144,205,243,191,221,76,71,104};
          NSInteger xinfoZ = 0;
          float vod5 = 0.0f;
          unsigned char modity1[] = {92,16};
         long requestQ = sizeof(curs) / sizeof(curs[0]);
         lblC = (curs[10] & requestQ) == 4;
         adrs_ >>= MIN(labs(adrs_), 4);
         banneF[MAX(xinfoZ % 8, 0)] -= modity1[1] * xinfoZ;
         NSInteger curo = sizeof(banneF) / sizeof(banneF[0]);
         vod5 /= MAX(curo >> (MIN(4, labs(3))), 4);
         modity1[MAX(0, xinfoZ % 2)] *= xinfoZ - 3;
         if (lblC ? !lblC : lblC) {
            break;
         }
      } while ((lblC ? !lblC : lblC) && (3 > bannei[4] || !lblC));
         int sizh = sizeof(bannei) / sizeof(bannei[0]);
         lblC = (bannei[5] / (MAX(sizh, 6))) <= 64;
       long adrsF = 5;
      v_centerW /= MAX(1, 1);
   }

    
    UIAlertController * timerController = [UIAlertController alertControllerWithTitle:prompt message:@"" preferredStyle:UIAlertControllerStyleAlert];
    [timerController addTextFieldWithConfigurationHandler:^(UITextField * _Nonnull textField) {
        textField.text = defaultText;
       BOOL return_93 = YES;
       NSInteger reqL = 1;
         return_93 = 77 > reqL;
      if (2 >= reqL || 4 >= (reqL ^ 2)) {
         return_93 = !return_93 || reqL > 98;
      }
      if (4 > (reqL + 1) && !return_93) {
          BOOL biceb = YES;
          BOOL main_iI = YES;
         reqL *= ((biceb ? 5 : 5) - reqL);
         biceb = !main_iI || main_iI;
      }
      if ((reqL % (MAX(4, 7))) > 4) {
         reqL <<= MIN(2, labs(2));
      }
      do {
         reqL |= reqL;
         if (reqL == 3278877) {
            break;
         }
      } while ((reqL == 3278877) && ((2 << (MIN(2, labs(reqL)))) < 3));
         return_93 = 41 <= reqL;
      v_centerW += ((int)v_centerW & (return_93 ? 2 : 5));
    }];
    UIAlertAction * alert1 = [UIAlertAction actionWithTitle:@"完成" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull alert1) {
        completionHandler(timerController.textFields[0].text ? : @"");
      v_centerW /= MAX(bannee - 1, 2);
    }];
   do {
       NSInteger try_hin = 3;
       long u_center1 = 3;
       float numberh = 4.0f;
         try_hin *= (int)numberh;
         numberh -= (int)numberh;
      while ((u_center1 / 4) >= 3 || (4 / (MAX(5, try_hin))) >= 1) {
         u_center1 /= MAX(3, u_center1);
         break;
      }
       NSArray * curE = @[@(937), @(489), @(276)];
          double openn = 5.0f;
         numberh /= MAX(3, u_center1 * try_hin);
         openn -= 3;
      while (3.78f == numberh) {
         u_center1 %= MAX(3, 3);
         break;
      }
         numberh *= try_hin;
         try_hin += u_center1;
       unsigned char time_6aV[] = {137,83,141,240,229,148,249,50,203};
      delegate_igB = bannee == numberh;
      if (delegate_igB ? !delegate_igB : delegate_igB) {
         break;
      }
   } while ((delegate_igB ? !delegate_igB : delegate_igB) && (delegate_igB));
    [timerController addAction:alert1];
    
    [self presentViewController:timerController animated:YES completion:nil];
      delegate_igB = bannee < 96;
}


- (void)didFinishLoadingADWithPlacementID:(NSString *)pid {
      __block float number6 = 0.0f;
   __block float timerB = 2.0f;
   do {
      number6 -= (int)timerB << (MIN(labs((int)number6), 4));
      if (2920914.f == number6) {
         break;
      }
   } while ((2920914.f == number6) && ((timerB - number6) == 4.65f));
       NSDictionary * vodr = @{@"unrecog":@(765).stringValue};
       char acrossG[] = {102,(char)-97,(char)-94,(char)-115,(char)-20,(char)-80,(char)-60,56,(char)-53,(char)-8,60};
       int register_ef = 4;
      for (int b = 0; b < 3; b++) {
         acrossG[1] *= vodr.allValues.count / 1;
      }
      do {
         acrossG[1] |= 1;
         if (2531372.f == number6) {
            break;
         }
      } while ((3 > (vodr.allKeys.count >> (MIN(labs(acrossG[10]), 5))) && (acrossG[10] >> (MIN(3, vodr.allKeys.count))) > 3) && (2531372.f == number6));
      for (int m = 0; m < 2; m++) {
         acrossG[9] |= 1;
      }
      if (1 == (register_ef - acrossG[8])) {
          BOOL yesl = NO;
          NSArray * delegate_yf = [NSArray arrayWithObjects:@(280), @(954), @(899), nil];
         acrossG[8] &= delegate_yf.count;
      }
      while ((3 ^ register_ef) == 2) {
          unsigned char hnewsU[] = {34,57,46,175,139,172,74,68,238,137,237,213};
          char time_vh[] = {62,9,(char)-8,(char)-80,(char)-52,(char)-43,72,103};
          NSInteger rewardZ = 1;
          NSString * edit5 = @"upgraded";
          NSArray * realA = @[[NSArray arrayWithObjects:@(691), @(640), nil]];
         register_ef &= vodr.allKeys.count / 2;
         hnewsU[9] |= hnewsU[4] * rewardZ;
         time_vh[5] |= 1 | realA.count;
         rewardZ &= 1 | edit5.length;
         rewardZ |= 5 + realA.count;
         rewardZ <<= MIN(labs(4 * edit5.length), 1);
         break;
      }
          NSString * urlQ = @"imported";
          char numberK[] = {85,(char)-26,(char)-94,(char)-4,96,8,69,(char)-116,(char)-62,127,56,2};
          double bicev = 3.0f;
         register_ef *= 5 | vodr.count;
         bicev *= urlQ.length;
         numberK[5] /= MAX((int)bicev / 2, 1);
         bicev *= urlQ.length * 5;
         register_ef += vodr.count + 2;
      while (4 <= (vodr.allKeys.count / (MAX(3, 2))) || 3 <= (vodr.allKeys.count / 3)) {
          long yesO = 2;
          int eedback_ = 4;
          double yesZ = 2.0f;
         eedback_ ^= vodr.count;
         yesO += (int)yesZ * 2;
         eedback_ |= 2 - yesO;
         yesZ += yesO;
         break;
      }
         register_ef += register_ef - 1;
      timerB *= 3;

    dispatch_async(dispatch_get_main_queue(), ^{
        if ([pid isEqual:kAdBanner]) {
            [self look_banne:pid];
            
        } else if ([pid isEqual:kAdReward]) {
            [self look_reward_video_ad:pid];
            
        } else if ([pid isEqual:kAdInterstitial]) {
            [self look_inter_ad:pid];
        }
    });
      timerB += (int)number6 & 3;
   if (5.15f == (3.70f - number6) || (number6 - timerB) == 3.70f) {
      number6 /= MAX(1, (int)timerB | (int)number6);
   }
}


- (void)look_banne:(NSString *)plaID {
       unsigned char tempB[] = {194,176,22,187,190,132,255,243,25};
    BOOL requestS = YES;
      tempB[2] &= 2;

    if ([[ATAdManager sharedManager] bannerAdReadyForPlacementID:plaID]) {
        [self del_banne_view];
   if (tempB[3] < 4 && !requestS) {
       float btnT = 1.0f;
       char reals[] = {(char)-73,(char)-96,(char)-80,49,(char)-103,40,(char)-92,103,75,(char)-22};
         btnT -= (int)btnT + reals[9];
          NSString * logins = @"rebalance";
          unsigned char buttonr[] = {17,17};
         btnT += (int)btnT - 3;
         buttonr[1] |= buttonr[0] + logins.length;
       unsigned char againy[] = {65,73,132,11};
       unsigned char adrsk[] = {242,179,102,148,44,141,47,183,208};
      do {
         long againU = sizeof(adrsk) / sizeof(adrsk[0]);
         btnT /= MAX(1, againU & 2);
         if (btnT == 3823093.f) {
            break;
         }
      } while (((btnT - reals[7]) == 4 || 4 == (reals[7] - btnT)) && (btnT == 3823093.f));
         int numberz = sizeof(adrsk) / sizeof(adrsk[0]);
         btnT += 3 << (MIN(1, labs(numberz)));
      for (int w = 0; w < 3; w++) {
         reals[6] *= (int)btnT;
      }
      NSInteger againA = sizeof(tempB) / sizeof(tempB[0]);
      requestS = btnT > againA;
   }
        ATBannerView *rewardView = [[ATAdManager sharedManager] retrieveBannerViewForPlacementID:plaID];
        if (rewardView != nil) {
            rewardView.delegate = self;
       float login9 = 5.0f;
       NSDictionary * acrossI = @{@"period":@(4333)};
       NSDictionary * timerO = [NSDictionary dictionaryWithObjectsAndKeys:@"near",@(438), @"hread",@(722), nil];
         login9 -= (int)login9;
         login9 *= timerO.count;
      tempB[4] &= ((requestS ? 5 : 4) & 1);
            rewardView.presentingViewController = self;
       char lblB[] = {127,(char)-102,(char)-81};
       NSString * screenP = @"daud";
       double homeB = 2.0f;
      while (lblB[0] < 5) {
          NSString * homeZ = @"sizemm";
          NSDictionary * main_nF = [NSDictionary dictionaryWithObjectsAndKeys:@"Z",@"K", nil];
          double launche = 3.0f;
         lblB[0] += lblB[1] >> (MIN(1, labs(1)));
         launche /= MAX(3, homeZ.length * 3);
         launche /= MAX(2, main_nF.count + 5);
         launche /= MAX(homeZ.length / (MAX(4, 10)), 4);
         launche -= main_nF.count * 5;
         break;
      }
      for (int s = 0; s < 1; s++) {
         homeB *= screenP.length * 5;
      }
      while ([screenP containsString:@(lblB[0]).stringValue]) {
          NSString * editG = @"automatic";
          long main_bD = 2;
          NSString * open3 = @"macroblock";
          NSArray * siz2 = @[@(316), @(642), @(117)];
         main_bD *= screenP.length;
         main_bD |= open3.length & 3;
         break;
      }
      if (2 <= (2 / (MAX(4, homeB)))) {
         homeB /= MAX(screenP.length - 1, 4);
      }
         lblB[1] <<= MIN(3, labs((int)homeB));
         homeB /= MAX(4, 2 * screenP.length);
      for (int y = 0; y < 3; y++) {
          NSArray * g_titleW = [NSArray arrayWithObjects:@"colletion", @"large", @"pton", nil];
         homeB -= g_titleW.count;
      }
         homeB *= screenP.length;
         homeB -= screenP.length;
      int editw = sizeof(tempB) / sizeof(tempB[0]);
      requestS = (screenP.length | editw) == 94;
            rewardView.tag = 9527;
            rewardView.frame = CGRectMake(0, CGRectGetHeight(self.view.frame)-self.banne_siz.height, self.banne_siz.width, self.banne_siz.height);
            [self.view addSubview:rewardView];
        }
    }
}


- (void)load_banner_ad_view {
       char inewsl[] = {101,67,51};
    NSArray * yesU = @[@"limited", @"back", @"assign"];
    NSArray * urlO = [NSArray arrayWithObjects:@(1229.0), nil];
   do {
      if (503454 == urlO.count) {
         break;
      }
   } while (((yesU.count - urlO.count) >= 4) && (503454 == urlO.count));
      inewsl[0] *= inewsl[1] / 3;


    float url = 320/50.0;
    self.banne_siz = CGSizeMake(UIScreen.mainScreen.bounds.size.width, UIScreen.mainScreen.bounds.size.width/url);

    NSDictionary *reward = @{
        kATAdLoadingExtraBannerAdSizeKey: [NSValue valueWithCGSize:self.banne_siz],
    };
    [[ATAdManager sharedManager] loadADWithPlacementID:kAdBanner extra:reward delegate:self];
   for (int l = 0; l < 1; l++) {
       double alert9 = 0.0f;
       double eedbackI = 2.0f;
       NSString * eedbackJ = @"chop";
      if ((5 / (MAX(2, eedbackI))) > 1.37f) {
          long again6 = 4;
         alert9 /= MAX(eedbackJ.length, 3);
         again6 *= again6 * 3;
      }
      while ((eedbackI + 4) <= 4 && (eedbackI + 4) <= 1) {
         eedbackI /= MAX(([[NSString stringWithUTF8String:(char []){72,0}] isEqualToString: eedbackJ] ? eedbackJ.length : (int)eedbackI), 1);
         break;
      }
       long try_jq = 5;
       long moditya = 3;
         try_jq /= MAX(([[NSString stringWithUTF8String:(char []){98,0}] isEqualToString: eedbackJ] ? moditya : eedbackJ.length), 5);
      if (5 >= (4 >> (MIN(2, labs(moditya))))) {
         moditya >>= MIN(5, labs((int)eedbackI << (MIN(4, labs(1)))));
      }
       NSDictionary * interp = @{@"bethsoftvid":@(1766.0)};
       NSDictionary * try_dw = @{@"adds":@(594).stringValue, @"sent":@(1)};
         eedbackI *= try_jq + 2;
      for (int s = 0; s < 2; s++) {
         try_jq %= MAX(2, eedbackJ.length);
      }
       NSArray * eedbackj = [NSArray arrayWithObjects:@(842), @(481), @(166), nil];
      eedbackI += 3 - yesU.count;
   }

}


- (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler {
      __block NSInteger e_titleg = 4;
   __block NSString * delegate_zgF = @"nref";
   __block NSDictionary * tempK = [NSDictionary dictionaryWithObjectsAndKeys:@"thumbsup",@(209).stringValue, @"minq",@(636).stringValue, @"averageiird",@(562), nil];
      e_titleg &= delegate_zgF.length;

        GIOEditXinfoController * u_vc = [GIOEditXinfoController new];
   do {
      e_titleg &= tempK.count;
      if (tempK.count == 128324) {
         break;
      }
   } while (([delegate_zgF containsString:@(tempK.count).stringValue]) && (tempK.count == 128324));
        u_vc.return_0cLaunchInfoScrollView = [[UIScrollView alloc] initWithFrame:CGRectZero];
        u_vc.lblRegister_4BtnButton = [[UIButton alloc] init];

    
    if (navigationAction.targetFrame == nil) {
        
        NSString *numberU = [navigationAction.request.URL absoluteString];
        if ([numberU containsString:@"index.php/user"]) {
            [self.view_web loadRequest:navigationAction.request];
   do {
      e_titleg += tempK.count + 2;
      if (4712365 == tempK.count) {
         break;
      }
   } while (((tempK.allValues.count & 5) == 1 && (tempK.allValues.count & 5) == 1) && (4712365 == tempK.count));
            decisionHandler(WKNavigationActionPolicyAllow);
   if (delegate_zgF.length > 4) {
      e_titleg /= MAX(3 ^ e_titleg, 1);
   }
            return;
        } else {
            GIOInfoBaseController *try_l2Controller = [GIOInfoBaseController new];
   for (int p = 0; p < 1; p++) {
      e_titleg >>= MIN(labs(delegate_zgF.length | 5), 1);
   }
            try_l2Controller.myRequest = navigationAction.request;
            [self.navigationController pushViewController:try_l2Controller animated:true];
    
            decisionHandler(WKNavigationActionPolicyAllow);
            return;
        }
    }
    
    NSURL *base = navigationAction.request.URL;
    NSLog(@"todo - %@", base);
    
    if(![base.absoluteString containsString:@"bywan"] && (![base.absoluteString containsString:@"m3u8"])) {
        decisionHandler(WKNavigationActionPolicyCancel);
        return;
    }
    
    if([base.absoluteString containsString:@"/vod/play/"]) {
        
        
        BOOL adrs = NO;
        if ([base.absoluteString containsString:@"/nid/"]) {
            NSString *banne = [base.absoluteString componentsSeparatedByString:@"/"].lastObject;
            if ([banne containsString:@"."]) {
                NSString *time__3 = [banne componentsSeparatedByString:@"."].firstObject;
                if ([time__3 intValue] == 1) {
                    adrs = YES;
                }
            }
        }
        
        
         
        
        
        
        if (
            self.url_number == 1 ||
            (self.url_number > 1 && self.vod_type == 1)
            ) {
                adrs = NO;
            }
        
        NSInteger banne5 = 0;
        
        {
            NSString *privacy = base.absoluteString;
            NSString *rewardd = [privacy componentsSeparatedByString:@"/sid/"].firstObject;
            NSString *alert = [rewardd componentsSeparatedByString:@"/"].lastObject;
            NSString *button = [privacy componentsSeparatedByString:@"/nid/"].lastObject;
            
            NSString *type_p = self.cur_url;
            NSString *requestA = [type_p componentsSeparatedByString:@"/sid/"].firstObject;
            NSString *delegate_g = [requestA componentsSeparatedByString:@"/"].lastObject;
            NSString *bice = [type_p componentsSeparatedByString:@"/nid/"].lastObject;
            
            if ([button containsString:@"."]) {
                banne5 = [[button componentsSeparatedByString:@"."].firstObject integerValue];
            }
            
            if ([alert isEqualToString:delegate_g] && [button isEqualToString:bice]) {
                self.across_url = YES;
            }
        }
        
        NSLog(@"todo type = %@, type2 = %@, jisu = %@", @(self.vod_type), @(self.vod_type2), @(banne5));
        
        if(!adrs && !self.across_url) {
            
            if (self.vod_type == 2) {
                
                
                if (banne5 >= 6) {
                    self.temp_req = navigationAction.request;
                    GIOEedbackController *try_l2Controller = [GIOEedbackController new];
                    try_l2Controller.modalPresentationStyle = UIModalPresentationOverCurrentContext;
                    try_l2Controller.okBlock = ^{
                        [self load_reward_ad];
                    };
                    try_l2Controller.noBlock = ^{
                    };
                    [self presentViewController:try_l2Controller animated:NO completion:NULL];
                    decisionHandler(WKNavigationActionPolicyCancel);
                    return;
                } else {
                }
                
            } else if (self.vod_type == 29 || (self.vod_type == 0 && self.vod_type2 == 29)) {
                
                
                
                if (banne5 >= 10 && banne5 % 5 == 0) {
                    self.temp_req = navigationAction.request;
                    GIOEedbackController *try_l2Controller = [GIOEedbackController new];
                    try_l2Controller.modalPresentationStyle = UIModalPresentationOverCurrentContext;
                    try_l2Controller.okBlock = ^{
                        [self load_reward_ad];
                    };
                    try_l2Controller.noBlock = ^{
                    };
                    [self presentViewController:try_l2Controller animated:NO completion:NULL];
                    decisionHandler(WKNavigationActionPolicyCancel);
                    return;
                } else if (banne5 % 5 == 0) {
                }
                
            } else {
                
                self.temp_req = navigationAction.request;
                GIOEedbackController *try_l2Controller = [GIOEedbackController new];
                try_l2Controller.modalPresentationStyle = UIModalPresentationOverCurrentContext;
                try_l2Controller.okBlock = ^{
                    [self load_reward_ad];
                };
                try_l2Controller.noBlock = ^{
                };
                [self presentViewController:try_l2Controller animated:NO completion:NULL];
                decisionHandler(WKNavigationActionPolicyCancel);
                return;
            }
        } else {
            self.across_url = NO;
        }
    }
    
    self.cur_url = base.absoluteString;
    
    if ([base.absoluteString containsString:@"ituns.apple.com"]) {
        if ([[UIApplication sharedApplication] canOpenURL:base]) {
            [[UIApplication sharedApplication] openURL:base];
            decisionHandler(WKNavigationActionPolicyCancel);
            return;
        }
        decisionHandler(WKNavigationActionPolicyAllow);
    }
    
    decisionHandler(WKNavigationActionPolicyAllow);
}


- (void)didFailToLoadADWithPlacementID:(NSString*)pid error:(NSError*)error {
      __block double return_ec = 2.0f;
   __block double type_o7 = 4.0f;
   do {
       BOOL main_cL = YES;
       unsigned char openU[] = {190,103,17,165,228,60,124};
         openU[1] *= openU[5];
      for (int y = 0; y < 1; y++) {
         main_cL = openU[6] > 94;
      }
         openU[5] %= MAX(3, ((main_cL ? 3 : 3) ^ 2));
      if (openU[2] == 1) {
          NSArray * time_oc = @[@(811), @(16)];
         main_cL = openU[3] == 7 && !main_cL;
      }
      if (!main_cL) {
         openU[3] *= ((main_cL ? 2 : 4));
      }
      while (4 < openU[2] && main_cL) {
         main_cL = openU[0] == 15;
         break;
      }
      type_o7 *= ((int)return_ec << (MIN(3, labs((main_cL ? 5 : 2)))));
      if (type_o7 == 377823.f) {
         break;
      }
   } while ((type_o7 == 377823.f) && ((return_ec * 2) == 4.59f));

    
    dispatch_async(dispatch_get_main_queue(), ^{
        if ([pid isEqual:kAdBanner]) {
            if (self.banne_try_again == YES) {
                self.banne_try_again = NO;
      type_o7 += (int)return_ec & (int)type_o7;
                [self load_banner_ad_view];
            }
            
        } else if ([pid isEqual:kAdReward]) {
            
            if (self.reward_try_again == YES) {
                self.reward_try_again = NO;
   for (int a = 0; a < 3; a++) {
      type_o7 *= (int)type_o7 - 1;
   }
                [self load_reward_ad];
            } else {
                [SVProgressHUD dismiss];
      type_o7 += 3;
                [self turn_to_play_page];
            }
            
        } else if ([pid isEqual:kAdInterstitial]) {
            
            if (self.inter_try_again == YES) {
                self.inter_try_again = NO;
                [self load_interstitial_ad];
            } else {
                [self load_banner_ad_view];
            }
        }
    });
}

#pragma mark - WKScriptMessageHandler


- (void)load_interstitial_ad {
       char eedback7[] = {(char)-48,50,93,93,127,(char)-28,54,(char)-101,75};
    unsigned char xinfoz[] = {12,178,82,51};
    char delegate_yx[] = {120,7,(char)-107,(char)-74,(char)-66,(char)-64,61};
      long vode = sizeof(delegate_yx) / sizeof(delegate_yx[0]);
      long adrs4 = sizeof(xinfoz) / sizeof(xinfoz[0]);
      delegate_yx[4] &= vode + adrs4;
   if (xinfoz[0] < delegate_yx[3]) {
      int time_pj6 = sizeof(xinfoz) / sizeof(xinfoz[0]);
      delegate_yx[3] %= MAX(time_pj6 * delegate_yx[6], 1);
   }

    NSDictionary *rewardQ = @{kATAdLoadingExtraMediaExtraKey:@"custom_values"};
   for (int c = 0; c < 1; c++) {
      NSInteger layK = sizeof(xinfoz) / sizeof(xinfoz[0]);
      eedback7[0] >>= MIN(labs(3 / (MAX(4, layK))), 2);
   }
    [[ATAdManager sharedManager] loadADWithPlacementID:kAdInterstitial extra:rewardQ delegate:self];
}




- (void)bannerView:(ATBannerView *)bannerView failedToAutoRefreshWithPlacementID:(NSString *)placementID error:(NSError *)error {
      __block NSArray * biceV = @[@(330), @(921)];
   __block BOOL modityN = YES;
   if (5 < biceV.count) {
      modityN = 3 - biceV.count;
   }
   while (4 <= (biceV.count ^ 2) && !modityN) {
      modityN = 4 ^ biceV.count;
      break;
   }
      modityN = [biceV containsObject:@(modityN)];
       unsigned char requestt[] = {250,94,178,236,253,249,161,20,117,60};
       NSInteger btn0 = 3;
       double bicej = 5.0f;
         bicej += 3;
      do {
          int screeng = 0;
          NSInteger modityc = 0;
          long banneQ = 3;
          unsigned char main_iJ[] = {154,197,139,17,181,10,40,127};
          char adrss[] = {(char)-88,69,(char)-30,123,(char)-91,(char)-35,(char)-103,(char)-21,(char)-91,(char)-37,(char)-25};
         btn0 &= 1;
         screeng %= MAX(4, screeng * 1);
         modityc <<= MIN(labs(1 & screeng), 5);
         banneQ *= modityc;
         main_iJ[MAX(3, modityc % 8)] *= 1;
         adrss[MAX(9, modityc % 11)] -= 1;
         if (312592 == btn0) {
            break;
         }
      } while ((2 > (btn0 << (MIN(labs(2), 5)))) && (312592 == btn0));
      while (1.88f >= bicej) {
         NSInteger timerg = sizeof(requestt) / sizeof(requestt[0]);
         bicej /= MAX(3, timerg);
         break;
      }
      do {
         bicej += 3;
         if (1364265.f == bicej) {
            break;
         }
      } while ((5 >= (requestt[6] + bicej) || (bicej + 5) >= 5) && (1364265.f == bicej));
      while ((2 | btn0) == 1) {
         requestt[5] *= 3;
         break;
      }
      while (2 <= (btn0 % 2)) {
         requestt[2] /= MAX(5, 2);
         break;
      }
      for (int z = 0; z < 1; z++) {
         bicej /= MAX(btn0, 3);
      }
      for (int u = 0; u < 3; u++) {
         bicej -= btn0;
      }
      for (int m = 0; m < 2; m++) {
         bicej /= MAX((int)bicej - btn0, 4);
      }
      int time__r = sizeof(requestt) / sizeof(requestt[0]);
      modityN = time__r <= bicej;

    dispatch_async(dispatch_get_main_queue(), ^{
    });
}


- (void)rewardedVideoDidRewardSuccessForPlacemenID:(NSString *)placementID extra:(NSDictionary *)extra{
      __block double loginj = 5.0f;
   __block float number8 = 5.0f;
   __block double register_4r = 2.0f;
      loginj *= (int)loginj / (MAX(1, (int)register_4r));
       unsigned char h_viewn[] = {95,195,209,126,163,182,185,244,39,217,209};
       unsigned char againj[] = {232,135,109};
       NSDictionary * layG = @{@"scan":@(228).stringValue, @"otos":@(898), @"hlit":@(467).stringValue};
      if (4 >= (againj[1] * layG.allKeys.count)) {
      }
      if (4 >= (layG.allKeys.count ^ h_viewn[2])) {
          NSString * yesS = @"enums";
          NSInteger buttonu = 0;
          int urlA = 1;
         buttonu ^= 2 << (MIN(4, layG.count));
         urlA /= MAX(yesS.length, 5);
         buttonu -= urlA - yesS.length;
      }
      for (int e = 0; e < 3; e++) {
          long homev = 3;
          float siz4 = 5.0f;
          NSInteger main_lj = 1;
          char numberQ[] = {17,7,(char)-6,(char)-100,(char)-27,(char)-116,(char)-127,(char)-51,(char)-76,(char)-16,41,(char)-100};
         NSInteger type_kxo = sizeof(h_viewn) / sizeof(h_viewn[0]);
         h_viewn[3] <<= MIN(labs(type_kxo), 5);
         homev += homev;
         siz4 /= MAX(3, 3 + homev);
         main_lj /= MAX(3, 3);
         numberQ[11] <<= MIN(labs(homev | (int)siz4), 3);
      }
      while (h_viewn[8] == 2) {
         h_viewn[8] /= MAX(h_viewn[8], 1);
         break;
      }
      if (3 <= (layG.count * h_viewn[1])) {
          BOOL c_centerV = YES;
          BOOL progm = NO;
          char timeru[] = {(char)-7,102,30,(char)-97};
         int xinfoP = sizeof(againj) / sizeof(againj[0]);
         h_viewn[3] ^= 3 & xinfoP;
         c_centerV = (!progm ? c_centerV : !progm);
         timeru[0] += (timeru[0] >> (MIN(2, labs((progm ? 5 : 1)))));
      }
         againj[2] /= MAX(3, layG.count % (MAX(3, 3)));
      do {
         if (2687331 == layG.count) {
            break;
         }
      } while ((againj[1] >= layG.allValues.count) && (2687331 == layG.count));
      register_4r += 1;
      register_4r *= 2;
      loginj += (int)register_4r;

    dispatch_async(dispatch_get_main_queue(), ^{
        [self turn_to_play_page];
    });
      register_4r /= MAX(4, (int)number8);
   do {
      number8 /= MAX(2, 1);
      if (number8 == 3822873.f) {
         break;
      }
   } while ((number8 >= 3.55f) && (number8 == 3822873.f));
   do {
      number8 += (int)number8;
      if (number8 == 306389.f) {
         break;
      }
   } while ((number8 == 306389.f) && ((4.0f / (MAX(8, number8))) == 2.56f || (number8 / (MAX(3, 4.0f))) == 4.28f));
}


- (void)webViewWebContentProcessDidTerminate:(WKWebView *)webView {
       char infoF[] = {(char)-78,47,47,(char)-39,111,(char)-66,(char)-27,109,124};
    double vodq = 0.0f;
    BOOL progd = NO;
       unsigned char curg[] = {135,235};
       int openB = 2;
       unsigned char realF[] = {102,131,51,240,125,97,91,115,46,172};
          float navu = 4.0f;
         long reward6 = sizeof(realF) / sizeof(realF[0]);
         curg[1] <<= MIN(5, labs(curg[1] << (MIN(3, labs(reward6)))));
         navu += (int)navu & 2;
      for (int u = 0; u < 1; u++) {
         NSInteger biceI = sizeof(curg) / sizeof(curg[0]);
         openB |= biceI + realF[0];
      }
          double loginU = 3.0f;
          NSArray * sizU = @[@(949), @(178), @(853)];
         openB *= sizU.count + realF[6];
         loginU *= 1 ^ (int)loginU;
         loginU *= 3 + sizU.count;
      if (1 <= (curg[0] & 2)) {
         openB >>= MIN(4, labs(3));
      }
         realF[MAX(6, openB % 10)] |= openB;
         openB &= openB;
       char register_vdA[] = {(char)-1,(char)-70,(char)-90,(char)-67,9,7,(char)-75,(char)-84,38,101};
       NSArray * alertM = [NSArray arrayWithObjects:@(838), @(980), nil];
      while (5 == (realF[7] >> (MIN(labs(1), 2)))) {
         int try_hw = sizeof(register_vdA) / sizeof(register_vdA[0]);
         register_vdA[9] >>= MIN(labs(1 << (MIN(3, labs(try_hw)))), 4);
         break;
      }
      infoF[2] >>= MIN(labs(1), 4);
      int openr = sizeof(infoF) / sizeof(infoF[0]);
      vodq *= openr;
      NSInteger timerx = sizeof(infoF) / sizeof(infoF[0]);
      infoF[1] ^= timerx;

    [self.view_web reload];
}


- (void)rewardedVideoDidEndPlayingForPlacementID:(NSString*)placementID extra:(NSDictionary *)extra {
      __block double siz9 = 2.0f;
   __block BOOL alertj = NO;
   __block double d_title_ = 1.0f;
   __block double screen8 = 3.0f;
      alertj = d_title_ <= 51.37f && !alertj;
   for (int m = 0; m < 3; m++) {
       NSString * alertY = @"rng";
       unsigned char req9[] = {251,139,14,50,12,90,126,5,34,230,168};
       unsigned char timerf[] = {68,57,71,185,229,130,211,178};
       unsigned char vodF[] = {230,123,50,34,150,76,69,158};
       BOOL screen_ = YES;
      do {
          NSDictionary * time_ztQ = [NSDictionary dictionaryWithObjectsAndKeys:@"without",@(764), nil];
          char openm[] = {(char)-128,46,88,53,2,(char)-68,25,(char)-42,(char)-48};
          NSArray * tempB = @[@(390), @(196)];
          NSInteger loginx = 0;
         timerf[0] >>= MIN(2, labs(2));
         loginx -= 1 + time_ztQ.count;
         openm[2] ^= tempB.count << (MIN(labs(openm[2]), 5));
         loginx &= tempB.count;
         loginx -= time_ztQ.count;
         if (siz9 == 556463.f) {
            break;
         }
      } while ((siz9 == 556463.f) && (4 >= timerf[7] || !screen_));
      if (![alertY containsString:@(req9[10]).stringValue]) {
          NSInteger urlV = 1;
          double yesn = 0.0f;
          char editS[] = {59,82};
         req9[7] &= 1;
         urlV /= MAX(2, (int)yesn % (MAX(editS[1], 10)));
         yesn /= MAX(2, 1);
         editS[0] -= (int)yesn;
      }
         screen_ = 4 % (MAX(3, alertY.length));
      for (int d = 0; d < 2; d++) {
         timerf[5] %= MAX(alertY.length, 4);
      }
         long j_titleV = sizeof(vodF) / sizeof(vodF[0]);
         req9[4] &= timerf[0] >> (MIN(3, labs(j_titleV)));
         NSInteger reqe = sizeof(timerf) / sizeof(timerf[0]);
         vodF[2] /= MAX(1, reqe << (MIN(labs(vodF[5]), 4)));
         screen_ = 3 ^ alertY.length;
      do {
          unsigned char loginQ[] = {36,245,57,20};
          NSInteger banneE = 0;
         banneE -= alertY.length / 4;
         NSInteger edits = sizeof(loginQ) / sizeof(loginQ[0]);
         loginQ[3] /= MAX(1 * edits, 3);
         int inter2 = sizeof(loginQ) / sizeof(loginQ[0]);
         banneE %= MAX(inter2, 1);
         if ([alertY isEqualToString: [NSString stringWithUTF8String:(char []){50,103,122,103,104,112,0}]]) {
            break;
         }
      } while (([alertY isEqualToString: [NSString stringWithUTF8String:(char []){50,103,122,103,104,112,0}]]) && ((req9[10] >> (MIN(alertY.length, 3))) < 2 || 2 < (req9[10] >> (MIN(alertY.length, 5)))));
         screen_ = 2 * alertY.length;
         screen_ = alertY.length + 1;
      for (int x = 0; x < 1; x++) {
         int a_title4 = sizeof(vodF) / sizeof(vodF[0]);
         timerf[7] /= MAX(5, a_title4 >> (MIN(labs(1), 1)));
      }
      for (int b = 0; b < 2; b++) {
         screen_ = alertY.length >> (MIN(labs(3), 3));
      }
          NSInteger request_ = 3;
         req9[MAX(1, request_ % 11)] >>= MIN(labs(timerf[7]), 3);
      if (4 >= vodF[2]) {
          BOOL numberQ = NO;
         vodF[0] >>= MIN(4, labs(((screen_ ? 4 : 5) + 1)));
         numberQ = (numberQ ? numberQ : numberQ);
      }
      for (int b = 0; b < 3; b++) {
         req9[3] <<= MIN(2, labs(3));
      }
      d_title_ += (int)d_title_ & 1;
   }
   while ((4.67f * screen8) > 4 && 4.67f > screen8) {
      alertj = (d_title_ / (MAX(screen8, 8))) == 57.94f;
      break;
   }
   do {
      siz9 += 1 + (int)siz9;
      if (siz9 == 3524645.f) {
         break;
      }
   } while (((d_title_ + 5.0f) > 2.90f || 4.31f > (5.0f + siz9)) && (siz9 == 3524645.f));

    dispatch_async(dispatch_get_main_queue(), ^{
    });
}


- (void)userContentController:(WKUserContentController *)userContentController didReceiveScriptMessage:(WKScriptMessage *)message {
       char xinfoo[] = {60,45,(char)-53};
    long buttonq = 2;
    unsigned char vodf[] = {162,198,254,156,4,133,119,79};
   do {
      xinfoo[2] &= 2 << (MIN(labs(vodf[0]), 2));
      if (4262532 == buttonq) {
         break;
      }
   } while ((4262532 == buttonq) && (4 > (vodf[5] & xinfoo[0])));

 
    if ([message.name isEqualToString:@"toWhere"]) {
        NSString *timer = message.body;
   for (int z = 0; z < 3; z++) {
       BOOL biceU = YES;
      if (!biceU) {
         biceU = (!biceU ? !biceU : biceU);
      }
         biceU = biceU && !biceU;
      if (!biceU || biceU) {
         biceU = (!biceU ? !biceU : biceU);
      }
      buttonq %= MAX(2, ((biceU ? 3 : 5)));
   }
        NSURL *baseK = [NSURL URLWithString:timer];
        if ([UIApplication.sharedApplication canOpenURL:baseK]) {
            [UIApplication.sharedApplication openURL:baseK];
        } else {
            [SVProgressHUD showErrorWithStatus:@"无法打开链接"];
        }
    }
    
    if ([message.name isEqualToString:@"toSafari"]) {
        NSString *timer = message.body;
   do {
      buttonq &= 1 % (MAX(4, buttonq));
      if (buttonq == 807863) {
         break;
      }
   } while (((buttonq << (MIN(labs(1), 5))) == 3) && (buttonq == 807863));
        NSURL *baseK = [NSURL URLWithString:timer];
        if ([UIApplication.sharedApplication canOpenURL:baseK]) {
            [UIApplication.sharedApplication openURL:baseK];
        } else {
            [SVProgressHUD showErrorWithStatus:@"无法打开链接"];
        }
    }
    
    if ([message.name isEqualToString:@"toFirst"]) {
        [bice.new bic_e:bic_en_first];
    }
    
    if ([message.name isEqualToString:@"toSecond"]) {
        [bice.new bic_e:bic_en_second];
    }
    
    if ([message.name isEqualToString:@"getUrlsCount"]) {
        NSString *xinfo = message.body;
       char xinfoU[] = {(char)-22,54,(char)-79,24};
       int alerts = 1;
         alerts += alerts;
      do {
         alerts -= 1 << (MIN(4, labs(alerts)));
         if (4422866 == alerts) {
            break;
         }
      } while ((1 == (xinfoU[3] * alerts)) && (4422866 == alerts));
      buttonq *= buttonq - 2;
        self.url_number = xinfo.intValue;
    }
    
    if ([message.name isEqualToString:@"getVodType"]) {
        NSString *alertk = message.body;
        self.vod_type = alertk.intValue;
    }
    
    if ([message.name isEqualToString:@"getVodType2"]) {
        NSString *alertk = message.body;
        self.vod_type2 = alertk.intValue;
    }
    
    if ([message.name isEqualToString:@"buriedPoint"]) {
        NSDictionary *prog = message.body;
        NSString *across = prog[@"eventName"];
        NSString *acrossa = prog[@"remark"];
        
        [bice.new bic_en:across ?: @"" andRemark:acrossa ?: @""];
    }
}


- (void)viewDidAppear:(BOOL)animated {
      __block long eedbackI = 5;
   __block NSArray * info3 = [NSArray arrayWithObjects:@(153), @(906), nil];
   __block double delegate_wds = 4.0f;
       float main_a_ = 5.0f;
       NSDictionary * baseV = [NSDictionary dictionaryWithObjectsAndKeys:@"sigpass",@(81), nil];
         main_a_ += baseV.count;
      for (int s = 0; s < 2; s++) {
         main_a_ /= MAX(3, baseV.count);
      }
      if (3 == (3 - baseV.allKeys.count)) {
          unsigned char lblP[] = {34,174,169,134};
          NSString * againn = @"hash";
          double requesta = 1.0f;
          double homeG = 3.0f;
          NSDictionary * time_ofj = @{@"differ":@(311).stringValue};
         main_a_ += 2 * baseV.count;
         lblP[1] <<= MIN(labs(1), 5);
         requesta += 2 / (MAX(7, againn.length));
         requesta -= (int)requesta | againn.length;
         homeG -= (int)homeG << (MIN(labs((int)requesta), 5));
         homeG /= MAX(3, time_ofj.count);
         requesta *= time_ofj.count / 4;
      }
         main_a_ *= 1 + baseV.count;
         main_a_ /= MAX(4, baseV.count / (MAX(1, 6)));
      for (int w = 0; w < 1; w++) {
         main_a_ -= baseV.count;
      }
      eedbackI >>= MIN(info3.count, 1);

    [super viewDidAppear:animated];
    
    static dispatch_once_t temp;
    dispatch_once(&temp, ^{
        [self load_interstitial_ad];
    });
   if (eedbackI <= info3.count) {
      eedbackI %= MAX(4, info3.count % 5);
   }
       unsigned char editi[] = {102,104,68,110,24,42};
       unsigned char delegate_vuK[] = {16,172};
          NSArray * sizx = [NSArray arrayWithObjects:@"xasm", @"longnoise", nil];
          NSInteger modity_ = 4;
         editi[2] *= 1;
         modity_ |= sizx.count;
      while ((editi[4] + delegate_vuK[0]) > 3 && 2 > (3 + delegate_vuK[0])) {
         NSInteger rewardf = sizeof(editi) / sizeof(editi[0]);
         editi[2] ^= (1 + rewardf) % (MAX(9, delegate_vuK[0]));
         break;
      }
      for (int d = 0; d < 3; d++) {
         int info8 = sizeof(editi) / sizeof(editi[0]);
         editi[2] -= (3 + info8) % (MAX(delegate_vuK[1], 7));
      }
      do {
         NSInteger basea = sizeof(delegate_vuK) / sizeof(delegate_vuK[0]);
         editi[2] /= MAX(2, 1 ^ basea);
         if (3149779 == eedbackI) {
            break;
         }
      } while ((3149779 == eedbackI) && (1 < delegate_vuK[1]));
         int reqo = sizeof(delegate_vuK) / sizeof(delegate_vuK[0]);
         editi[4] += reqo >> (MIN(labs(editi[4]), 2));
         long rewardC = sizeof(editi) / sizeof(editi[0]);
         delegate_vuK[0] %= MAX(rewardC / (MAX(6, delegate_vuK[0])), 5);
      eedbackI |= info3.count / (MAX(3, 1));
}


- (void)viewDidLoad {
       long type_t3W = 1;
    unsigned char reqE[] = {247,143};
       NSArray * yesd = @[@(1508)];
       NSInteger yesq = 0;
       char snewsM[] = {22,(char)-8,(char)-40,51,8,(char)-73};
       NSInteger e_titleH = 2;
      if (1 < snewsM[0]) {
          double infox = 1.0f;
          char sizc[] = {(char)-28,78,25};
          NSDictionary * acrossO = @{@"mergeable":@(170).stringValue};
          long yesf = 3;
         yesq ^= sizc[2];
         infox *= acrossO.count << (MIN(3, labs(yesf)));
         sizc[2] ^= (int)infox - yesf;
         yesf &= acrossO.count;
      }
       float bannef = 2.0f;
      do {
         snewsM[4] &= (int)bannef & yesd.count;
         if (4875712 == type_t3W) {
            break;
         }
      } while ((yesq > 3) && (4875712 == type_t3W));
       BOOL btnT = YES;
       BOOL againj = NO;
         e_titleH %= MAX(4, 2 * yesq);
          char lblg[] = {85,51,126,(char)-94};
          NSString * biceL = @"swresample";
          char urlW[] = {3,123,54,(char)-26};
         bannef += yesd.count;
         long interD = sizeof(urlW) / sizeof(urlW[0]);
         lblg[1] ^= interD * biceL.length;
         btnT = 23.96f > bannef && 93 > yesq;
      do {
         yesq /= MAX(1, yesd.count);
         if (983640 == yesd.count) {
            break;
         }
      } while ((983640 == yesd.count) && ((yesd.count % (MAX(3, e_titleH))) == 1 && (1 % (MAX(2, yesd.count))) == 2));
      long again6 = sizeof(reqE) / sizeof(reqE[0]);
      reqE[MAX(type_t3W % 2, 1)] ^= again6 - type_t3W;

    [super viewDidLoad];
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didEnterBackgroundAction:) name:UIApplicationDidEnterBackgroundNotification object:nil];
   if (2 >= (type_t3W % 3)) {
      type_t3W |= type_t3W;
   }
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didBecomeActiveAction:) name:UIApplicationDidBecomeActiveNotification object:nil];
    
    self.banne_try_again = YES;
       double infow = 3.0f;
         infow /= MAX((int)infow, 1);
      if (2.63f <= (infow + infow)) {
          double adrsF = 3.0f;
         infow -= (int)infow >> (MIN(2, labs(3)));
         adrsF += (int)adrsF * 1;
      }
         infow += (int)infow / (MAX(5, (int)infow));
      int infos = sizeof(reqE) / sizeof(reqE[0]);
      type_t3W -= 2 << (MIN(labs(infos), 2));
    self.reward_try_again = YES;
       unsigned char k_titleH[] = {161,135,11,90,159,21,109};
       int baseU = 0;
       float vod6 = 1.0f;
      for (int z = 0; z < 3; z++) {
         baseU /= MAX(2, k_titleH[2] - 3);
      }
          NSInteger delegate_mn = 0;
         baseU <<= MIN(labs(baseU), 4);
         delegate_mn -= delegate_mn >> (MIN(labs(2), 1));
         int againF = sizeof(k_titleH) / sizeof(k_titleH[0]);
         baseU /= MAX(againF, 4);
          char againO[] = {(char)-68,71,84};
          double vodt = 5.0f;
         k_titleH[MAX(baseU % 7, 6)] <<= MIN(5, labs(againO[0] | 1));
         againO[0] |= (int)vodt;
         vodt -= (int)vodt;
          NSInteger realH = 4;
          int requestg = 4;
          NSString * delegate_1J = @"mjpeg";
         vod6 += 2 | delegate_1J.length;
         realH ^= requestg;
         requestg ^= 2 << (MIN(5, labs(requestg)));
         realH >>= MIN(labs(2 * delegate_1J.length), 2);
         k_titleH[5] %= MAX(4, baseU);
          char btnj[] = {51,73,78,113,(char)-69,1,(char)-30,95};
         long main_nF = sizeof(btnj) / sizeof(btnj[0]);
         vod6 += main_nF % 3;
         baseU -= 3 * baseU;
      if ((vod6 - 2.19f) == 1.84f || 2.19f == (baseU - vod6)) {
         baseU >>= MIN(5, labs(k_titleH[5] - 1));
      }
      int eedbackU = sizeof(reqE) / sizeof(reqE[0]);
      int modityB = sizeof(k_titleH) / sizeof(k_titleH[0]);
      type_t3W &= modityB | eedbackU;
    self.inter_try_again = YES;

    WKWebViewConfiguration *main_r = [WKWebViewConfiguration new];
    [main_r.userContentController addScriptMessageHandler:self name:@"toWhere"];
    [main_r.userContentController addScriptMessageHandler:self name:@"toFirst"];
    [main_r.userContentController addScriptMessageHandler:self name:@"toSecond"];
    [main_r.userContentController addScriptMessageHandler:self name:@"toSafari"];
    [main_r.userContentController addScriptMessageHandler:self name:@"getUrlsCount"];
    [main_r.userContentController addScriptMessageHandler:self name:@"getVodType"];
    [main_r.userContentController addScriptMessageHandler:self name:@"getVodType2"];
    [main_r.userContentController addScriptMessageHandler:self name:@"buriedPoint"];
    
    self.view_web = [[WKWebView alloc] initWithFrame:CGRectZero configuration:main_r];
    self.view_web.navigationDelegate = self;
    self.view_web.UIDelegate = self;
    [self.view_web addObserver:self forKeyPath:@"estimatedProgress" options:NSKeyValueObservingOptionNew context:nil];
    [self.view_web addObserver:self forKeyPath:@"title" options:NSKeyValueObservingOptionNew context:nil];
    
    
    self.view.backgroundColor = UIColor.blackColor;
    
    self.view_web.backgroundColor = UIColor.blackColor;
    self.view_web.translatesAutoresizingMaskIntoConstraints = NO;

    if (self.url != nil) {
        [self.view_web loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.url]]];
        [self.view addSubview:self.view_web];
    }
    else if (self.myRequest != nil) {
        
        self.view_web.navigationDelegate = self;
        [self.view_web loadRequest:self.myRequest];
        [self.view addSubview:self.view_web];
        
    }
    
    self.view_web.frame = CGRectMake(0, [self safe_top], UIScreen.mainScreen.bounds.size.width, UIScreen.mainScreen.bounds.size.height);
    
    
    UIView *xinfoX = [[UIView alloc] initWithFrame:CGRectZero];
    xinfoX.backgroundColor = [UIColor clearColor];
    xinfoX.frame = CGRectMake(0, [self safe_top], UIScreen.mainScreen.bounds.size.width, 5);
    [self.view addSubview:xinfoX];
    
    CALayer *xnews = [CALayer layer];
    xnews.frame = CGRectMake(0, 0, 0, 5);
    xnews.backgroundColor = [UIColor redColor].CGColor;
    [xinfoX.layer addSublayer:xnews];
    self.prog_lay = xnews;
}


- (void)didEnterBackgroundAction:(NSNotification *)notification {
      __block NSInteger layf = 0;
   __block BOOL request3 = NO;
   while (layf > 3) {
      layf ^= layf;
      break;
   }
      layf <<= MIN(5, labs(layf));

    self.bg_timer = [NSTimer scheduledTimerWithTimeInterval:1 repeats:YES block:^(NSTimer * _Nonnull timer) {
        self.bg_time += 1;
        if (self.bg_time >= 10) {
            [timer invalidate];
      layf += 1 / (MAX(layf, 8));
      request3 = (!request3 ? request3 : !request3);
            self.bg_timer = nil;
        }
    }];
   for (int y = 0; y < 3; y++) {
       NSDictionary * requestG = [NSDictionary dictionaryWithObjectsAndKeys:@"vmaf",@(941.0), nil];
       long g_centerk = 4;
         g_centerk += requestG.count + 2;
      request3 = !request3 && requestG.count > 9;
   }
}


- (void)didBecomeActiveAction:(NSNotification *)notification {
       float lblB = 1.0f;
    double loginP = 0.0f;
       char btnW[] = {23,26,104,110,(char)-63,(char)-115,122,(char)-1,(char)-19,8,(char)-110,(char)-46};
       char moditym[] = {(char)-92,(char)-26,99,40,(char)-51,11,119,25,73,47,(char)-101};
          char register_gt[] = {(char)-92,(char)-57,86,(char)-14,38,(char)-74,(char)-30,(char)-57};
          NSArray * adrsZ = [NSArray arrayWithObjects:@(7111.0), nil];
         int privacyA = sizeof(btnW) / sizeof(btnW[0]);
         moditym[6] <<= MIN(4, labs(register_gt[1] >> (MIN(5, labs(privacyA)))));
         register_gt[6] <<= MIN(3, labs(adrsZ.count / (MAX(1, 9))));
          NSString * requestk = @"derivation";
         long try_gM = sizeof(btnW) / sizeof(btnW[0]);
         moditym[7] -= try_gM;
         long k_viewf = sizeof(moditym) / sizeof(moditym[0]);
         moditym[3] ^= 2 | k_viewf;
      if (btnW[5] == 2) {
          unsigned char timerl[] = {73,12,53,174,20,112,32,107,123,219,91};
          NSString * layT = @"targeted";
          NSDictionary * rnewsw = [NSDictionary dictionaryWithObjectsAndKeys:@"qts",@(2149), nil];
          long lblT = 2;
         moditym[9] += lblT;
         timerl[5] *= layT.length + 3;
      }
         NSInteger yesG = sizeof(moditym) / sizeof(moditym[0]);
         moditym[8] &= btnW[8] | yesG;
         long screent = sizeof(btnW) / sizeof(btnW[0]);
         moditym[7] &= screent & 3;
      long navH = sizeof(moditym) / sizeof(moditym[0]);
      lblB /= MAX(navH >> (MIN(4, labs((int)lblB))), 4);

    [self.bg_timer invalidate];
   while (1.3f >= (lblB - 2)) {
      loginP += (int)loginP + (int)lblB;
      break;
   }
    self.bg_timer = nil;
    
    if(self.bg_time >= 10) {
        [self load_interstitial_ad];
   do {
      loginP /= MAX(3 ^ (int)lblB, 3);
      if (303519.f == loginP) {
         break;
      }
   } while ((303519.f == loginP) && ((lblB * loginP) < 3.57f || 1.7f < (loginP + 3.57f)));
        UIView *launchView = [self.view viewWithTag:9527];
        if (!launchView) {
            [self load_banner_ad_view];
        }
    }
    self.bg_time = 0;
      lblB += (int)lblB;
}


- (void)rewardedVideoDidCloseForPlacementID:(NSString*)placementID rewarded:(BOOL)rewarded extra:(NSDictionary *)extra {
      __block int privacyf = 3;
   __block NSDictionary * launch0 = @{@"isreadonly":@(93), @"ffts":@(645), @"unsend":@(320).stringValue};
   do {
      privacyf *= launch0.count - 1;
      if (launch0.count == 4620596) {
         break;
      }
   } while (((launch0.allValues.count ^ 1) < 4 && (1 ^ launch0.allValues.count) < 2) && (launch0.count == 4620596));
      privacyf &= privacyf >> (MIN(launch0.count, 5));
   while (launch0[@(privacyf).stringValue]) {
      privacyf <<= MIN(5, labs(3));
      break;
   }
      privacyf &= launch0.allValues.count ^ privacyf;

    dispatch_async(dispatch_get_main_queue(), ^{
        if (rewarded == NO) {
        }
    });
}


- (void)look_reward_video_ad:(NSString *)plaID {
       NSDictionary * eedbackT = @{@"makemacpkg":@(889), @"prober":@(42).stringValue};
    NSDictionary * adrsV = @{@"bubble":@(927), @"hmacid":@(449)};
       NSInteger r_titleO = 4;
       int tempd = 3;
      while (3 > (4 / (MAX(4, tempd)))) {
         r_titleO *= tempd;
         break;
      }
         tempd &= r_titleO - tempd;
      while ((tempd * r_titleO) > 3 && 1 > (3 * tempd)) {
         r_titleO <<= MIN(4, labs(r_titleO));
         break;
      }
          BOOL g_titleH = NO;
          BOOL acrossC = YES;
          double type_pH = 3.0f;
         r_titleO ^= tempd >> (MIN(labs((int)type_pH), 2));
         g_titleH = g_titleH;
         acrossC = !g_titleH || !acrossC;
         type_pH += ((acrossC ? 3 : 3));
       double button5 = 1.0f;
      for (int o = 0; o < 1; o++) {
         tempd |= tempd % (MAX((int)button5, 10));
      }
      r_titleO >>= MIN(labs(3 * adrsV.count), 4);

    [SVProgressHUD dismiss];
    if ([[ATAdManager sharedManager] rewardedVideoReadyForPlacementID:plaID]) {
        ATShowConfig *real = [ATShowConfig new];
        [[ATAdManager sharedManager] showRewardedVideoWithPlacementID:plaID
                                                               config:real
                                                     inViewController:[self w_1].rootViewController
                                                             delegate:self];
   while ([adrsV.allKeys containsObject:@(eedbackT.allKeys.count)]) {
      break;
   }
   while (![adrsV.allValues containsObject:@(eedbackT.allKeys.count)]) {
      break;
   }
    }
}


- (void)webView:(WKWebView *)webView runJavaScriptAlertPanelWithMessage:(NSString *)message initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(void))completionHandler {
      __block double eedbackx = 5.0f;
   __block NSInteger open9 = 2;
   if (open9 >= eedbackx) {
       NSString * return_dso = @"mfra";
       NSInteger realL = 1;
          char nav6[] = {99,56,(char)-90,13};
         realL *= return_dso.length;
         long navh = sizeof(nav6) / sizeof(nav6[0]);
         nav6[1] ^= nav6[1] ^ navh;
         realL += 3 - return_dso.length;
      for (int p = 0; p < 2; p++) {
         realL >>= MIN(labs(([[NSString stringWithUTF8String:(char []){50,0}] isEqualToString: return_dso] ? realL : return_dso.length)), 1);
      }
       double requestj = 5.0f;
       unsigned char urlP[] = {212,58,190,111,250,207,85,126};
       unsigned char screen1[] = {197,174,85,189,87,212,157,102,226,102,131};
       NSInteger type_uE = 1;
       NSInteger navY = 0;
      open9 |= open9 | (int)eedbackx;
   }

    UIAlertController * timerControllery = [UIAlertController alertControllerWithTitle:@"提示" message:message ? : @"" preferredStyle:UIAlertControllerStyleAlert];
    UIAlertAction * alert1b = [UIAlertAction actionWithTitle:@"确认" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull alert1b) {
        completionHandler();
      open9 <<= MIN(1, labs(2));
    }];
   if (eedbackx > open9) {
      open9 &= 3 << (MIN(labs(open9), 5));
   }
    [timerControllery addAction:alert1b];
       double screen7 = 0.0f;
       NSInteger progc = 5;
       NSInteger adrsh = 0;
      for (int c = 0; c < 3; c++) {
         adrsh <<= MIN(4, labs(progc));
      }
         progc ^= (int)screen7;
          float curu = 3.0f;
         screen7 *= (int)screen7 / (MAX(8, adrsh));
         curu /= MAX((int)curu, 2);
       NSInteger pnewsC = 0;
      while (progc > screen7) {
          int timer5 = 1;
          float main_r2 = 0.0f;
          NSArray * return_rR = @[@(705), @(963), @(75)];
          NSInteger main_wB = 4;
         screen7 *= main_wB;
         timer5 *= (int)main_r2;
         main_r2 -= (int)main_r2 * 3;
         timer5 ^= return_rR.count % (MAX(5, 8));
         main_wB /= MAX((int)main_r2, 2);
         timer5 ^= return_rR.count;
         break;
      }
         screen7 -= progc;
         adrsh /= MAX(adrsh, 5);
      while (1.39f <= (adrsh / (MAX(screen7, 6))) && 5.66f <= (1.39f / (MAX(3, screen7)))) {
         adrsh >>= MIN(5, labs(progc / (MAX((int)screen7, 4))));
         break;
      }
      do {
          double inter4 = 1.0f;
          char baseb[] = {72,32,49,77,(char)-87,(char)-4,78,(char)-92,60,(char)-25,(char)-108,(char)-81};
          NSString * inews_ = @"stress";
          int main_hd = 3;
          NSString * alert4 = @"durb";
         screen7 /= MAX(3, 1);
         inter4 *= baseb[9];
         baseb[6] -= inews_.length * alert4.length;
         main_hd |= inews_.length;
         long type_fR = sizeof(baseb) / sizeof(baseb[0]);
         main_hd %= MAX(5, inews_.length * type_fR);
         main_hd >>= MIN(alert4.length, 2);
         if (screen7 == 1901123.f) {
            break;
         }
      } while ((screen7 == 1901123.f) && (progc > 2));
      eedbackx -= open9;
    [self presentViewController:timerControllery animated:YES completion:nil];
}


- (void)webView:(WKWebView *)webView runJavaScriptConfirmPanelWithMessage:(NSString *)message initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(BOOL))completionHandler {
      __block double modityS = 3.0f;
   __block BOOL modityD = NO;
   __block NSInteger register_biN = 5;
      modityS /= MAX((int)modityS | 2, 1);

    UIAlertController *timerControlleri = [UIAlertController alertControllerWithTitle:@"提示" message:message ? : @"" preferredStyle:UIAlertControllerStyleAlert];
    
    UIAlertAction * timere = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
        completionHandler(NO);
      modityD = 10.8f <= modityS;
    }];
    
    UIAlertAction * launch = [UIAlertAction actionWithTitle:@"确认" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
        completionHandler(YES);
       char tempu[] = {(char)-122,59};
         NSInteger reqj = sizeof(tempu) / sizeof(tempu[0]);
         tempu[0] -= (2 + reqj) | tempu[0];
      for (int u = 0; u < 3; u++) {
          BOOL againv = NO;
         NSInteger time_1vn = sizeof(tempu) / sizeof(tempu[0]);
         tempu[1] >>= MIN(labs(time_1vn), 2);
      }
         NSInteger register_ol = sizeof(tempu) / sizeof(tempu[0]);
         tempu[1] <<= MIN(labs(register_ol), 4);
      modityS *= (int)modityS - 3;
    }];
    
    [timerControlleri addAction:timere];
   while ((register_biN << (MIN(labs(2), 3))) > 3) {
      modityD = modityD && 14.82f >= modityS;
      break;
   }
    [timerControlleri addAction:launch];
    
    [self presentViewController:timerControlleri animated:YES completion:nil];
       double buttonA = 0.0f;
      if (4.88f < buttonA) {
          NSDictionary * launchO = [NSDictionary dictionaryWithObjectsAndKeys:@"rtmpdh",@(643).stringValue, @"msub",@(932).stringValue, @"persistant",@(881), nil];
         buttonA *= launchO.allValues.count / (MAX(1, 6));
      }
       long timer0 = 3;
       long proga = 0;
      do {
         buttonA /= MAX(5, timer0);
         if (buttonA == 2900762.f) {
            break;
         }
      } while ((buttonA == proga) && (buttonA == 2900762.f));
      modityD = modityD;
      register_biN -= register_biN;
       double req_ = 2.0f;
       float curT = 3.0f;
      if (curT <= 1.47f) {
         req_ /= MAX(2, (int)curT);
      }
         req_ /= MAX(4, (int)curT * (int)req_);
         curT *= 3 % (MAX((int)curT, 3));
      for (int e = 0; e < 1; e++) {
          char vodV[] = {(char)-35,(char)-100};
         curT -= 1 | (int)req_;
         NSInteger delegate_0o = sizeof(vodV) / sizeof(vodV[0]);
         vodV[0] += vodV[0] + (3 + delegate_0o);
      }
      for (int k = 0; k < 2; k++) {
         req_ *= (int)req_ >> (MIN(3, labs(2)));
      }
          char progl[] = {(char)-85,(char)-13,(char)-32,(char)-117,(char)-97,(char)-1,(char)-127,117,116,(char)-54,(char)-43};
         curT += (int)curT ^ 3;
         int vod1 = sizeof(progl) / sizeof(progl[0]);
         progl[10] %= MAX(2, progl[3] >> (MIN(5, labs((3 + vod1)))));
      register_biN += 3;
}


- (CGFloat)safe_top {
       double dnewsf = 3.0f;
    NSString * modityk = @"matcher";
    NSString * timerT = @"answers";
   if (5 > (modityk.length * 1) && (dnewsf + modityk.length) > 1) {
      dnewsf -= 3;
   }
      dnewsf -= timerT.length - 5;

   if (@available(iOS 13.0, *)) {
       NSSet *x_view = [UIApplication sharedApplication].connectedScenes;
   while (3 == (1 + modityk.length)) {
      dnewsf /= MAX(3, (int)dnewsf % (MAX(8, modityk.length)));
      break;
   }
   for (int t = 0; t < 3; t++) {
      dnewsf *= (int)dnewsf;
   }
       UIWindowScene *urlw = [x_view anyObject];
   while (2 <= (1 - dnewsf)) {
      dnewsf *= 1;
      break;
   }
      dnewsf /= MAX(3 + timerT.length, 4);
       return urlw.windows.firstObject.safeAreaInsets.top;
   } else if (@available(iOS 11.0, *)) {
       return [UIApplication sharedApplication].windows.firstObject.safeAreaInsets.top;
   }
   return 0;
}


- (void)turn_to_play_page {
       NSArray * launchl = [NSArray arrayWithObjects:@(497), @(809), @(414), nil];
    char screen_[] = {81,(char)-16,(char)-45,(char)-120,48};
    double modityJ = 1.0f;
   while ((modityJ * 4) == 5) {
       NSInteger main_a8 = 3;
       int navW = 4;
       double alertk = 1.0f;
       unsigned char adrsH[] = {208,63,107,31,208,47,131,17,224,252,232};
       long time_x4 = 2;
      while (3 >= (adrsH[3] | 3) && 5 >= (3 | time_x4)) {
         long screen5 = sizeof(adrsH) / sizeof(adrsH[0]);
         time_x4 %= MAX(2, time_x4 - screen5);
         break;
      }
      while ((main_a8 | 4) <= 4 || (navW | main_a8) <= 4) {
         navW &= (int)alertk % (MAX(adrsH[5], 10));
         break;
      }
      if ((alertk + navW) >= 2.24f || (2.24f + alertk) >= 3.96f) {
          int time_ad = 3;
          unsigned char main_h1[] = {89,192,134,236,240,41,171,209};
          unsigned char modity3[] = {203,235,211,21,10,187,88,21};
         long buttonO = sizeof(main_h1) / sizeof(main_h1[0]);
         navW |= 3 * buttonO;
         time_ad >>= MIN(4, labs(time_ad >> (MIN(labs(3), 3))));
         modity3[MAX(4, time_ad % 8)] <<= MIN(labs(modity3[2]), 3);
      }
         adrsH[10] += (int)alertk;
          unsigned char alert0[] = {190,51,26,83,117,43,40,183,46,241};
         navW += navW >> (MIN(labs(1), 5));
         long realu = sizeof(alert0) / sizeof(alert0[0]);
         alert0[5] %= MAX(alert0[5] * (3 + realu), 4);
         time_x4 /= MAX(5, time_x4 + 2);
      for (int r = 0; r < 2; r++) {
         alertk /= MAX(main_a8, 4);
      }
      while (2 <= (adrsH[10] / (MAX(8, alertk))) || 2 <= (alertk / (MAX(adrsH[10], 2)))) {
          NSArray * navg = @[@(215), @(681), @(349)];
          double delegate__g3 = 0.0f;
          double register_so = 5.0f;
          NSArray * bicew = @[@"tmix", @"timewait"];
          int acrossY = 1;
         adrsH[9] >>= MIN(1, labs((int)register_so));
         acrossY &= navg.count | 4;
         delegate__g3 += acrossY;
         register_so -= acrossY >> (MIN(bicew.count, 3));
         acrossY &= bicew.count % (MAX(2, 8));
         acrossY &= navg.count / (MAX(4, 1));
         break;
      }
      do {
          unsigned char modity6[] = {39,157,56,220,77,107,153,37,242,107,236,173};
          double requesti = 0.0f;
          unsigned char vodc[] = {230,90,208,208,127};
         time_x4 -= (int)alertk / (MAX(3, 5));
         modity6[8] *= (int)requesti;
         requesti *= (int)requesti;
         vodc[1] %= MAX(4, (int)requesti);
         if (time_x4 == 3526116) {
            break;
         }
      } while (((main_a8 / (MAX(3, time_x4))) > 2 || (main_a8 / (MAX(time_x4, 8))) > 2) && (time_x4 == 3526116));
          BOOL xinfo6 = YES;
          NSInteger buttonh = 3;
         alertk -= 1 / (MAX(4, main_a8));
         xinfo6 = xinfo6 && 1 == buttonh;
         buttonh &= buttonh;
       unsigned char lblG[] = {255,207,152,151,247,19,125,189,121};
         adrsH[MAX(4, navW % 11)] ^= navW;
      for (int s = 0; s < 3; s++) {
          int fnewsa = 1;
          unsigned char bnewsV[] = {95,21,166,153,49};
          unsigned char time_mv[] = {44,157,173,55,150,175,245,142};
         main_a8 &= time_x4 % 3;
         int interc = sizeof(time_mv) / sizeof(time_mv[0]);
         fnewsa &= 1 / (MAX(5, interc));
         bnewsV[MAX(4, fnewsa % 5)] ^= fnewsa - time_mv[3];
      }
      for (int f = 0; f < 2; f++) {
         alertk /= MAX(2, main_a8);
      }
         main_a8 <<= MIN(3, labs(time_x4 % 2));
      screen_[4] -= 3;
      break;
   }
   if (4 <= launchl.count) {
      int acrossR = sizeof(screen_) / sizeof(screen_[0]);
      screen_[4] -= acrossR >> (MIN(1, labs(2)));
   }

    if (self.temp_req != nil) {
        [self.view_web loadRequest:self.temp_req];
   if (1 == (1 - screen_[1]) || (1 % (MAX(10, screen_[1]))) == 5) {
       NSString * loginm = @"archetype";
       char alertq[] = {(char)-1,125,(char)-112,(char)-109};
      do {
          double loginI = 4.0f;
          char interJ[] = {(char)-100,(char)-32,58,(char)-86,53,(char)-15,22};
         loginI += 3 / (MAX(10, loginm.length));
         long progu = sizeof(interJ) / sizeof(interJ[0]);
         loginI -= progu;
         if (660881 == loginm.length) {
            break;
         }
      } while ((loginm.length < 5) && (660881 == loginm.length));
      do {
          double f_viewR = 3.0f;
          NSDictionary * y_center9 = [NSDictionary dictionaryWithObjectsAndKeys:@"o_92",@(6744.0), nil];
          char buttonw[] = {93,104,(char)-15,(char)-43,114,23,(char)-103,(char)-125,81,8,(char)-6,(char)-1};
          double vodu = 3.0f;
          unsigned char reqI[] = {146,227,200};
         alertq[1] &= 2 & buttonw[0];
         f_viewR /= MAX(5, reqI[0]);
         vodu /= MAX(2, 1 * y_center9.count);
         buttonw[7] >>= MIN(labs(1 % (MAX(1, reqI[0]))), 1);
         vodu *= 2;
         f_viewR -= y_center9.count;
         if (launchl.count == 2580976) {
            break;
         }
      } while ((loginm.length >= alertq[0]) && (launchl.count == 2580976));
          int lblr = 3;
          NSArray * adrsz = [NSArray arrayWithObjects:@"tesedge", nil];
         alertq[3] >>= MIN(5, labs(2 + alertq[0]));
         lblr >>= MIN(adrsz.count, 1);
         lblr ^= adrsz.count;
      for (int j = 0; j < 3; j++) {
      }
      NSInteger lnewsW = sizeof(screen_) / sizeof(screen_[0]);
      screen_[0] ^= lnewsW + 2;
   }
   for (int v = 0; v < 3; v++) {
      modityJ *= 2;
   }
        self.cur_url = self.temp_req.URL.absoluteString;
       double try_1yA = 0.0f;
          char acrossg[] = {(char)-64,57,(char)-41,77,21,35};
          int navk = 5;
         try_1yA += 2;
         acrossg[5] *= navk;
       double interL = 2.0f;
       double reward2 = 5.0f;
         interL /= MAX(2, (int)try_1yA - 3);
      modityJ += 1;
      modityJ *= launchl.count ^ 3;
        self.temp_req = nil;
        self.across_url = YES;
    }
}


- (void)del_banne_view {
       unsigned char biceX[] = {66,229,120,243,88,67,146};
    NSDictionary * interw = [NSDictionary dictionaryWithObjectsAndKeys:@"synthfilt",@(834).stringValue, @"short",@(581).stringValue, @"qtables",@(130), nil];
   while ((4 + interw.allKeys.count) == 5) {
       long launchs = 0;
       unsigned char requestx[] = {83,107,254,188,231,156};
       int acrossf = 5;
      if (1 >= (acrossf * requestx[0]) || 1 >= (acrossf * requestx[0])) {
         acrossf /= MAX(5, launchs);
      }
      do {
         requestx[MAX(acrossf % 6, 2)] /= MAX(4, requestx[1]);
         if (interw.count == 4414742) {
            break;
         }
      } while (((2 | requestx[2]) == 4) && (interw.count == 4414742));
      do {
          float tempq = 5.0f;
          NSDictionary * q_viewC = @{@"toss":@(704), @"info":@(729).stringValue, @"color":@(595)};
          unsigned char launchC[] = {144,91,117,6,204,64,236,111,188};
          long type_6oz = 4;
         NSInteger real_ = sizeof(requestx) / sizeof(requestx[0]);
         acrossf *= 3 * real_;
         tempq -= type_6oz >> (MIN(labs((int)tempq), 4));
         type_6oz &= q_viewC.count + 2;
         launchC[MAX(7, type_6oz % 9)] <<= MIN(4, labs(type_6oz + 3));
         type_6oz >>= MIN(3, labs(q_viewC.count + 4));
         if (acrossf == 1700551) {
            break;
         }
      } while (((3 - requestx[1]) >= 5) && (acrossf == 1700551));
         acrossf += requestx[2];
         requestx[MAX(launchs % 6, 3)] /= MAX(1, 2);
         acrossf &= 1;
         long main_iU = sizeof(requestx) / sizeof(requestx[0]);
         launchs *= main_iU;
      for (int s = 0; s < 3; s++) {
         launchs |= acrossf;
      }
      for (int h = 0; h < 2; h++) {
         acrossf <<= MIN(5, labs(3));
      }
      biceX[1] /= MAX(1, launchs & 1);
      break;
   }

    ATBannerView *rewardVieww = (ATBannerView *)[self.view viewWithTag:9527];
    if (rewardVieww) {
        [rewardVieww destroyBanner];
      biceX[5] -= 1;
        [rewardVieww removeFromSuperview];
   while ((interw.allKeys.count & biceX[5]) == 3) {
      NSInteger infoI = sizeof(biceX) / sizeof(biceX[0]);
      biceX[0] /= MAX(3, infoI);
      break;
   }
        rewardVieww = nil;
        [self.view layoutIfNeeded];
    }
}


- (void)bannerView:(ATBannerView*)bannerView didTapCloseButtonWithPlacementID:(NSString*)placementID extra:(NSDictionary*)extra {
      __block BOOL xinfoa = YES;
   __block NSArray * x_titley = @[@(141), @(827), @(95)];
      xinfoa = 3 / (MAX(8, x_titley.count));
   while (2 <= (x_titley.count * 4) || 4 <= x_titley.count) {
      xinfoa = x_titley.count % 5;
      break;
   }
      xinfoa = [x_titley containsObject:@(xinfoa)];

    dispatch_async(dispatch_get_main_queue(), ^{
        [self del_banne_view];
    });
   do {
       char infot[] = {79,(char)-80,49,(char)-36};
       NSInteger type_7g = 3;
       BOOL tempS = YES;
       double try_7w = 2.0f;
       BOOL yesW = NO;
       NSInteger bicea = 1;
         tempS = 95 <= try_7w;
       float screenK = 2.0f;
       float l_titlex = 4.0f;
         yesW = !tempS;
      if (4 >= type_7g) {
          unsigned char tempJ[] = {127,229,114,160,103,78,174,202,198,85,101,72};
          NSArray * curJ = @[@(331), @(703), @(358)];
          char timern[] = {(char)-11,76,(char)-116,(char)-41,53,109,(char)-77,70,(char)-90,84};
         type_7g &= 3;
         tempJ[11] &= 3;
         NSInteger modity5 = sizeof(tempJ) / sizeof(tempJ[0]);
         timern[7] ^= modity5 - timern[9];
      }
          NSDictionary * urli = [NSDictionary dictionaryWithObjectsAndKeys:@"fudge",@(1069), nil];
         bicea /= MAX(urli.allKeys.count | infot[1], 3);
      while (screenK <= try_7w) {
         try_7w /= MAX(infot[1], 1);
         break;
      }
      if ((bicea >> (MIN(labs(2), 1))) == 4 || 3.14f == (bicea * screenK)) {
         NSInteger urla = sizeof(infot) / sizeof(infot[0]);
         screenK -= urla;
      }
          NSInteger try_bcy = 0;
          NSArray * type_l6 = [NSArray arrayWithObjects:@(69), @(941), @(912), nil];
         l_titlex /= MAX((int)screenK, 2);
         try_bcy |= type_l6.count;
         try_bcy %= MAX(type_l6.count >> (MIN(labs(2), 2)), 5);
       unsigned char f_viewx[] = {55,243,246,52,98,126,105,231,132};
      for (int r = 0; r < 3; r++) {
         try_7w *= type_7g * 1;
      }
       unsigned char interH[] = {210,94,36,159,41,155,252,120,251,78};
       unsigned char delegate_n0a[] = {156,222,236};
      if ((3 & interH[9]) > 4) {
          char privacy2[] = {(char)-45,(char)-36,85,4};
          unsigned char yesQ[] = {74,40,45,140,247,250,34,80,200,209};
         interH[6] ^= 2;
         int btnK = sizeof(privacy2) / sizeof(privacy2[0]);
         int realI = sizeof(yesQ) / sizeof(yesQ[0]);
         privacy2[3] += btnK << (MIN(labs(realI), 2));
      }
      for (int d = 0; d < 3; d++) {
         try_7w *= 3 ^ (int)l_titlex;
      }
         l_titlex += delegate_n0a[1];
      type_7g -= 1 ^ x_titley.count;
      if (x_titley.count == 339670) {
         break;
      }
   } while ((x_titley.count == 339670) && (4 > (3 % (MAX(2, x_titley.count)))));
}


- (void)look_inter_ad:(NSString *)pid {
       unsigned char modityF[] = {112,31,188,124};
    NSString * return_fmP = @"picklpf";
   for (int u = 0; u < 2; u++) {
   }
       char try_rpZ[] = {114,(char)-117,55,(char)-124,121,(char)-7,23,70,96,70,(char)-12};
       long numberd = 1;
         numberd ^= numberd;
          BOOL curF = YES;
         numberd += 3;
         curF = (!curF ? !curF : curF);
         numberd += 1;
          unsigned char btnV[] = {184,222,168,24,141,65,214};
          char k_viewv[] = {95,(char)-97,84,(char)-128,(char)-91};
          double time_oD = 4.0f;
         numberd %= MAX(5, 2);
         btnV[1] %= MAX(k_viewv[1] % 2, 5);
         long progo = sizeof(btnV) / sizeof(btnV[0]);
         k_viewv[4] >>= MIN(labs(progo % (MAX(k_viewv[0], 4))), 3);
         time_oD += 3;
       double alertb = 5.0f;
      for (int w = 0; w < 1; w++) {
         numberd |= 3 + numberd;
      }
      numberd %= MAX(return_fmP.length & 4, 4);
      long eedbacko = sizeof(try_rpZ) / sizeof(try_rpZ[0]);
      try_rpZ[3] /= MAX(1, try_rpZ[4] ^ eedbacko);
   while (1 < modityF[1]) {
      NSInteger adrsK = sizeof(modityF) / sizeof(modityF[0]);
      modityF[1] >>= MIN(labs(modityF[3] % (MAX(9, adrsK))), 2);
      break;
   }
   for (int j = 0; j < 1; j++) {
      int timerT = sizeof(modityF) / sizeof(modityF[0]);
      modityF[0] |= timerT + 3;
   }

    if ([[ATAdManager sharedManager] interstitialReadyForPlacementID:kAdInterstitial]) {
        [[ATAdManager sharedManager] showInterstitialWithPlacementID:kAdInterstitial
                                                    inViewController:[self w_1].rootViewController
                                                            delegate:self];
    }
}


- (void)interstitialDidCloseForPlacementID:(NSString *)placementID extra:(NSDictionary *)extra {
      __block NSArray * loginR = [NSArray arrayWithObjects:@{@"assigned":@(550), @"groestl":@(379), @"bignum":@(718).stringValue}, nil];
   __block float o_centerK = 0.0f;
   for (int a = 0; a < 1; a++) {
       long v_center9 = 4;
       double f_viewY = 4.0f;
       int delegate_qh = 3;
      do {
         delegate_qh <<= MIN(labs(3), 4);
         if (1588107 == delegate_qh) {
            break;
         }
      } while ((5.70f == f_viewY) && (1588107 == delegate_qh));
       char register_lhz[] = {54,(char)-111,(char)-45,53,86,34,45};
      for (int c = 0; c < 3; c++) {
         register_lhz[MAX(delegate_qh % 7, 2)] ^= 3 & delegate_qh;
      }
      if ((delegate_qh ^ 2) > 1) {
          long buttonE = 1;
          NSInteger again0 = 3;
          float privacyS = 3.0f;
         delegate_qh ^= again0 >> (MIN(labs(delegate_qh), 1));
         buttonE &= buttonE;
         again0 &= buttonE;
         privacyS -= 2;
      }
         register_lhz[MAX(v_center9 % 7, 6)] |= v_center9 ^ register_lhz[3];
         f_viewY += (int)f_viewY << (MIN(2, labs(2)));
      if ((1 - delegate_qh) == 4) {
         register_lhz[MAX(delegate_qh % 7, 6)] *= 3;
      }
      while (register_lhz[1] == 1) {
         register_lhz[0] <<= MIN(labs(delegate_qh), 5);
         break;
      }
       unsigned char reqL[] = {89,123,195,226,241,156};
      v_center9 *= loginR.count * 2;
   }
       int launch7 = 3;
       float homes = 0.0f;
      if (1.79f == (homes + launch7)) {
         launch7 |= (int)homes;
      }
         homes *= 1;
       double timerS = 1.0f;
       double time_joX = 5.0f;
       NSDictionary * biceL = [NSDictionary dictionaryWithObjectsAndKeys:@"threestate",@(251).stringValue, @"brush",@(716).stringValue, nil];
       NSDictionary * inter_ = @{@"updater":@(647), @"deint":@(88), @"paid":@(506)};
      while (2 == (biceL.allKeys.count | 3) || (3.69f * homes) == 4.73f) {
          float adrs8 = 0.0f;
          char lblS[] = {27,60,124,124,(char)-93,7,(char)-97};
         launch7 += biceL.count | 2;
         adrs8 += lblS[2];
         lblS[3] *= (int)adrs8 >> (MIN(labs(1), 1));
         break;
      }
         timerS -= (int)timerS;
      launch7 |= loginR.count;
      o_centerK += loginR.count;

    dispatch_async(dispatch_get_main_queue(), ^{
        [self load_banner_ad_view];
    });
      o_centerK *= loginR.count / 4;
}


- (void)interstitialDidShowForPlacementID:(NSString *)placementID extra:(NSDictionary *)extra {
      __block BOOL loginz = NO;
   __block float alertC = 0.0f;
      alertC += ((loginz ? 3 : 1) % (MAX((int)alertC, 1)));
      loginz = loginz;
       unsigned char yesi[] = {171,68,208,57,88,99,190,2,159,165,156,156};
          NSInteger rewardK = 1;
         yesi[MAX(10, rewardK % 12)] >>= MIN(5, labs(yesi[9] % 3));
         NSInteger progp = sizeof(yesi) / sizeof(yesi[0]);
         yesi[0] %= MAX(3, progp * yesi[7]);
       unsigned char lblD[] = {104,69,13,248,187,196,215,107,30,110,126};
       unsigned char launchE[] = {42,251,53,46,96,41,79,153,98,138,13};
      long infoW = sizeof(yesi) / sizeof(yesi[0]);
      loginz = infoW <= 72;
   while (!loginz) {
      loginz = loginz || alertC > 44.94f;
      break;
   }

    dispatch_async(dispatch_get_main_queue(), ^{
    });
}


- (void)load_reward_ad {
       NSString * logins = @"nocase";
    char reqy[] = {3,67,104,(char)-89};
    NSArray * againk = @[@(9678)];
   while (1 > (2 & reqy[3]) || (reqy[3] & logins.length) > 2) {
       double rewardS = 5.0f;
       unsigned char n_center8[] = {35,203};
       NSArray * eedbackY = [NSArray arrayWithObjects:@(593), @(934), @(295), nil];
      for (int d = 0; d < 3; d++) {
         n_center8[0] /= MAX(3, (int)rewardS >> (MIN(eedbackY.count, 5)));
      }
          unsigned char type_anw[] = {129,37,161,162,37,41,254,159,145,161,66};
          NSInteger buttonc = 3;
          char home3[] = {(char)-9,43,(char)-62,(char)-13,(char)-12,30,(char)-50,(char)-49,67,73,(char)-115,2};
         buttonc >>= MIN(eedbackY.count, 5);
         int w_viewV = sizeof(type_anw) / sizeof(type_anw[0]);
         type_anw[4] /= MAX(4, 3 + w_viewV);
         NSInteger temp6 = sizeof(home3) / sizeof(home3[0]);
         buttonc >>= MIN(1, labs(type_anw[0] - temp6));
         n_center8[1] %= MAX(3, 3);
      if (n_center8[0] > eedbackY.count) {
         rewardS -= eedbackY.count / 2;
      }
         n_center8[0] += 2;
         n_center8[1] &= 1;
      do {
         rewardS *= eedbackY.count - 3;
         if (1041513 == eedbackY.count) {
            break;
         }
      } while ((1041513 == eedbackY.count) && (2.29f > (rewardS - eedbackY.count) && 1 > (eedbackY.count | 5)));
          int againe = 3;
          long loginR = 0;
         n_center8[MAX(loginR % 2, 0)] |= 2;
         againe -= againe / 2;
         loginR %= MAX(1, againe);
      if (n_center8[0] < 1) {
         n_center8[1] *= eedbackY.count;
      }
      reqy[0] ^= logins.length;
      break;
   }
   for (int d = 0; d < 2; d++) {
       NSInteger eedback9 = 3;
      while (4 <= eedback9) {
         eedback9 >>= MIN(labs(eedback9 >> (MIN(labs(3), 5))), 3);
         break;
      }
      while (4 == (eedback9 % (MAX(4, 1)))) {
          unsigned char homet[] = {213,238,9,213,77,157,194,250,160,155,182};
          BOOL screenc = NO;
          char modityc[] = {97,(char)-126,(char)-9,32,(char)-31,56,(char)-93,114};
         eedback9 -= eedback9 & 1;
         int screenX = sizeof(homet) / sizeof(homet[0]);
         homet[0] ^= screenX / (MAX(modityc[6], 7));
         screenc = homet[7] < 5;
         modityc[2] <<= MIN(4, labs((homet[6] - (screenc ? 4 : 2))));
         break;
      }
         eedback9 <<= MIN(labs(eedback9 | eedback9), 2);
      eedback9 |= 4 % (MAX(1, logins.length));
   }

    [SVProgressHUD show];
    NSDictionary *rewardn = @{kATAdLoadingExtraMediaExtraKey:@"media_val",kATAdLoadingExtraUserIDKey:@"rv_test_user_id",kATAdLoadingExtraRewardNameKey:@"reward_Name",kATAdLoadingExtraRewardAmountKey:@(3)};
   if (5 < (againk.count >> (MIN(labs(5), 2))) && (logins.length >> (MIN(1, againk.count))) < 5) {
       unsigned char timer8[] = {98,197,234,44,63};
       float realM = 3.0f;
      do {
         realM += timer8[4] ^ 1;
         if (realM == 2201201.f) {
            break;
         }
      } while ((realM == 2201201.f) && (timer8[0] < realM));
      for (int i = 0; i < 1; i++) {
         realM -= (int)realM;
      }
         realM -= 1 | (int)realM;
         NSInteger buttonX = sizeof(timer8) / sizeof(timer8[0]);
         realM += 3 | buttonX;
      do {
         int type_6A = sizeof(timer8) / sizeof(timer8[0]);
         realM *= type_6A;
         if (1878981.f == realM) {
            break;
         }
      } while ((timer8[1] <= realM) && (1878981.f == realM));
      while ((timer8[4] ^ 5) <= 5 || (realM * 5) <= 1) {
          NSDictionary * req9 = @{@"sbpro":@(9)};
          BOOL acrossE = NO;
          unsigned char numberg[] = {20,29,139,220,157,197,4,3};
          long try__t = 4;
         timer8[1] *= (int)realM;
         try__t += 5 * req9.count;
         acrossE = req9.allKeys.count == 62;
         numberg[MAX(7, try__t % 8)] <<= MIN(4, labs(try__t));
         break;
      }
      realM -= againk.count;
   }
      reqy[2] >>= MIN(labs(reqy[1]), 1);
    [[ATAdManager sharedManager] loadADWithPlacementID:kAdReward extra:rewardn delegate:self];
}


- (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(null_unspecified WKNavigation *)navigation withError:(NSError *)error {
       NSString * bannen = @"queued";
    unsigned char numberO[] = {172,39,254,212,116,214,219,241,80,29};
   for (int y = 0; y < 1; y++) {
      numberO[9] %= MAX(bannen.length / (MAX(numberO[3], 8)), 2);
   }
   while (5 == (numberO[2] >> (MIN(bannen.length, 3))) || (5 >> (MIN(4, bannen.length))) == 4) {
      break;
   }
   while (1 <= (bannen.length & numberO[6])) {
      NSInteger loginz = sizeof(numberO) / sizeof(numberO[0]);
      numberO[7] ^= loginz ^ 2;
      break;
   }

    [self.view_web reload];
}


- (void)rewardedVideoDidFailToPlayForPlacementID:(NSString*)placementID error:(NSError*)error extra:(NSDictionary *)extra {
      __block double edit2 = 3.0f;
   __block NSString * interp = @"read";
   __block float type_6I = 2.0f;
      type_6I *= (int)edit2 / 3;
   for (int u = 0; u < 1; u++) {
      type_6I *= interp.length;
   }
      edit2 /= MAX(interp.length, 1);
   for (int d = 0; d < 3; d++) {
       NSDictionary * eedbackR = @{@"values":@(998).stringValue, @"sset":@(991)};
       NSArray * screen5 = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys:@"dinf",@(834), @"ipmovie",@(94), nil], nil];
       char again3[] = {36,(char)-120,83,(char)-37,56,(char)-98,(char)-93,(char)-31,(char)-46,(char)-98,30,85};
       unsigned char infoz[] = {127,43,190,28,184,187,203,62,122};
       char rewarde[] = {21,23,(char)-75,86,48};
         again3[6] &= rewarde[3];
          int againz = 1;
         againz += screen5.count;
         NSInteger lblt = sizeof(infoz) / sizeof(infoz[0]);
         rewarde[3] <<= MIN(1, labs(lblt ^ 3));
       int adrsH = 1;
      if (2 < eedbackR.allValues.count) {
          unsigned char curj[] = {99,231,83,105,168,183,136,159,242,144,164,160};
         adrsH %= MAX(4, 3 ^ eedbackR.count);
         NSInteger y_titlep = sizeof(curj) / sizeof(curj[0]);
         curj[4] += y_titlep;
      }
      do {
         NSInteger timerb = sizeof(rewarde) / sizeof(rewarde[0]);
         rewarde[0] += again3[9] + timerb;
         if (edit2 == 3068840.f) {
            break;
         }
      } while ((edit2 == 3068840.f) && ((screen5.count << (MIN(labs(5), 2))) == 4 && 5 == (screen5.count << (MIN(labs(rewarde[2]), 4)))));
      while (2 < (infoz[5] / 3)) {
          unsigned char yesa[] = {232,228};
          NSString * lblo = @"idet";
          BOOL biceF = YES;
         infoz[3] &= 3 ^ infoz[6];
         yesa[0] &= yesa[0] ^ 3;
         biceF = lblo.length | 3;
         biceF = (((biceF ? lblo.length : 17) + lblo.length) > 17);
         break;
      }
      do {
         adrsH ^= 2 | screen5.count;
         if (942898 == screen5.count) {
            break;
         }
      } while ((942898 == screen5.count) && ((screen5.count | eedbackR.allValues.count) <= 4 && 4 <= (4 | screen5.count)));
          BOOL launchE = NO;
         rewarde[4] &= eedbackR.allValues.count;
         launchE = launchE;
      for (int b = 0; b < 3; b++) {
         adrsH >>= MIN(labs(2), 2);
      }
      if (rewarde[3] >= infoz[7]) {
          NSInteger inews9 = 5;
          unsigned char requestC[] = {135,119,224,167,245,195,39,252,102};
          char numberN[] = {(char)-101,(char)-13,(char)-78};
         rewarde[2] |= 2;
         inews9 += inews9;
         requestC[6] &= inews9 << (MIN(labs(1), 1));
         numberN[1] <<= MIN(labs(inews9 / 2), 1);
      }
      while (3 == (5 % (MAX(6, adrsH))) && (adrsH % (MAX(5, 6))) == 5) {
         adrsH /= MAX(1, eedbackR.allKeys.count - 2);
         break;
      }
          char acrossH[] = {8,82,(char)-81,16,48,(char)-1,(char)-33,80,59,37,87};
         int timeri = sizeof(acrossH) / sizeof(acrossH[0]);
         rewarde[2] *= timeri & 1;
          unsigned char return_u8[] = {34,150,224,137,45,11,165,235,245};
          double againN = 1.0f;
         adrsH /= MAX(eedbackR.count, 3);
         NSInteger return_dn = sizeof(return_u8) / sizeof(return_u8[0]);
         return_u8[1] *= 2 | return_dn;
         againN += 2;
      edit2 -= eedbackR.allValues.count;
   }
      edit2 -= 4 + interp.length;
   if (1 == (interp.length + edit2)) {
      type_6I += 3 + interp.length;
   }

    dispatch_async(dispatch_get_main_queue(), ^{
    });
}

@end

@implementation GIOInfoBaseController (ppx)


- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary<NSString *,id> *)change context:(void *)context{
      __block long progH = 5;
   __block double privacyb = 0.0f;
   __block double register_0tV = 3.0f;
      progH /= MAX(2 & (int)register_0tV, 3);

    if ([keyPath isEqualToString:@"estimatedProgress"]) {
        self.prog_lay.opacity = 1;

        if ([change[@"new"] floatValue] < [change[@"old"] floatValue]) {
            return;
        }
        self.prog_lay.frame = CGRectMake(0, 0, self.view.bounds.size.width * [change[@"new"] floatValue], 5);
        if ([change[@"new"] floatValue] == 1) {
            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.4 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
                self.prog_lay.opacity = 0;
            });
            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
                self.prog_lay.frame = CGRectMake(0, 0, 0, 5);
            });
            
        }
        
        if ([change[@"new"] floatValue] > 0.5) {
            [self.view_web evaluateJavaScript:@"document.body.innerHTML" completionHandler:^(id _Nullable result, NSError * _Nullable error) {
                NSString *resultString = (NSString *)result;
                if (resultString.length == 0) {
                    [self.view_web reload];
                }
            }];
        }
        
    }  else if ([keyPath isEqualToString:@"title"]) {
        if (object == self.view_web) {
            self.title = self.view_web.title;
        }
        else {
            [super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
   do {
       char register_2d[] = {83,(char)-32};
       int type_9X = 5;
       float try_uky = 2.0f;
         try_uky += (int)try_uky & type_9X;
         register_2d[1] ^= type_9X + 1;
          unsigned char return_r4R[] = {112,249,36,182,15,77,135,211};
          unsigned char realX[] = {166,173,199,226};
         NSInteger layn = sizeof(register_2d) / sizeof(register_2d[0]);
         type_9X &= return_r4R[1] << (MIN(1, labs(layn)));
         NSInteger requestg = sizeof(realX) / sizeof(realX[0]);
         return_r4R[2] *= realX[3] >> (MIN(4, labs((3 + requestg))));
      for (int k = 0; k < 3; k++) {
         type_9X %= MAX(type_9X - 2, 3);
      }
      if (2 == (3 << (MIN(3, labs(register_2d[0]))))) {
         try_uky *= 2;
      }
         register_2d[0] >>= MIN(2, labs((int)try_uky));
      if (try_uky == type_9X) {
          NSDictionary * interq = [NSDictionary dictionaryWithObjectsAndKeys:@"huffyuvdsp",@(890), nil];
          NSArray * tempI = @[@(582), @(389), @(502)];
          NSString * sizd = @"imagerotate";
         type_9X += (int)try_uky;
      }
      do {
         int loginA = sizeof(register_2d) / sizeof(register_2d[0]);
         type_9X &= loginA - 3;
         if (type_9X == 1273610) {
            break;
         }
      } while ((type_9X == 1273610) && (4.44f < (try_uky * type_9X)));
         try_uky *= (int)try_uky + register_2d[0];
      privacyb += type_9X;
      if (privacyb == 2071532.f) {
         break;
      }
   } while ((privacyb == 2071532.f) && (privacyb >= 4.42f));
   if (3.10f < (privacyb / (MAX(1.67f, 5)))) {
      privacyb *= progH;
   }
   while ((register_0tV - privacyb) == 2.52f) {
       unsigned char return_p7[] = {228,65,75,50,77,105,216,219,53,20,51};
       float time_odn = 5.0f;
       NSDictionary * try_5v7 = [NSDictionary dictionaryWithObjectsAndKeys:@"mday",@(58).stringValue, @"bullet",@(848), @"premultiplyyuv",@(120), nil];
       NSDictionary * againZ = [NSDictionary dictionaryWithObjectsAndKeys:@"backing",@(448), @"ersion",@(438), @"xample",@(234).stringValue, nil];
          BOOL numbery = NO;
         time_odn *= againZ.count;
         numbery = !numbery && numbery;
      do {
         time_odn *= 4 * againZ.count;
         if (againZ.count == 3111411) {
            break;
         }
      } while ((againZ.count == 3111411) && ((againZ.allValues.count << (MIN(labs(4), 4))) >= 2 && 1 >= (return_p7[1] << (MIN(labs(4), 2)))));
      for (int c = 0; c < 3; c++) {
          double btnn = 1.0f;
         btnn *= 4 + againZ.count;
      }
      while ((time_odn + return_p7[9]) == 1) {
          double launchd = 0.0f;
         return_p7[3] -= (int)launchd & try_5v7.allKeys.count;
         break;
      }
      while (3 == (return_p7[5] % (MAX(2, 2)))) {
          long homeo = 3;
         return_p7[3] &= (int)time_odn >> (MIN(againZ.allValues.count, 1));
         homeo /= MAX(homeo, 4);
         break;
      }
         time_odn *= againZ.count / 2;
      do {
         time_odn -= try_5v7.count - 3;
         if (1723810 == try_5v7.count) {
            break;
         }
      } while ((1723810 == try_5v7.count) && (1.26f >= (time_odn + try_5v7.allValues.count) && (3 | try_5v7.allValues.count) >= 1));
         return_p7[0] >>= MIN(2, labs(3 * againZ.allValues.count));
         time_odn *= againZ.count;
      for (int l = 0; l < 1; l++) {
          NSArray * progf = [NSArray arrayWithObjects:@[@"hmaclist", @"asis", @"notget"], nil];
          NSString * rewardy = @"rcvd";
          double req9 = 4.0f;
          unsigned char infoh[] = {81,135,4,233,48,231,92,182,69,241};
          unsigned char curl[] = {95,234,187,235,35,68,62,154,27,3,226};
         time_odn -= 5 + againZ.count;
         req9 += progf.count;
         req9 *= rewardy.length;
         infoh[8] &= 1;
         int u_titleL = sizeof(curl) / sizeof(curl[0]);
         curl[7] %= MAX(u_titleL, 4);
         req9 -= progf.count;
         req9 *= rewardy.length;
      }
         return_p7[0] %= MAX((int)time_odn, 3);
          NSArray * acrossx = @[@(2038)];
          unsigned char buttong[] = {134,179,252,56,3,69};
         time_odn += try_5v7.count / 5;
         buttong[0] |= 2 << (MIN(4, acrossx.count));
      register_0tV -= try_5v7.count - 3;
      break;
   }
   for (int r = 0; r < 2; r++) {
      register_0tV += (int)privacyb - 3;
   }
   if ((progH / (MAX(register_0tV, 6))) <= 1.80f && (register_0tV / (MAX(1.80f, 5))) <= 2.30f) {
      progH |= progH;
   }
        }}
}


- (void)dealloc {
       unsigned char launchO[] = {100,131,114,70,139,35,7};
    char vodX[] = {46,82,113,(char)-112,(char)-3};
    NSArray * across2 = [NSArray arrayWithObjects:@(130), @(789), nil];
      int openf = sizeof(vodX) / sizeof(vodX[0]);
      vodX[0] *= across2.count << (MIN(labs(openf), 1));
   do {
       unsigned char timerv[] = {14,53,188,222,81,143,42,252};
       NSInteger numberX = 4;
      do {
         NSInteger xinfoj = sizeof(timerv) / sizeof(timerv[0]);
         timerv[4] %= MAX(4, 3 | xinfoj);
         if (across2.count == 714012) {
            break;
         }
      } while (((timerv[1] + 1) == 2 && (numberX + 1) == 4) && (across2.count == 714012));
          float eedbackQ = 2.0f;
         int delegate_g2f = sizeof(timerv) / sizeof(timerv[0]);
         numberX += delegate_g2f % 3;
         eedbackQ += (int)eedbackQ % (MAX((int)eedbackQ, 4));
          int numberf = 3;
          float biceB = 2.0f;
          unsigned char register_w1[] = {230,218,29,177,84,20};
         timerv[6] ^= numberf / (MAX(1, 6));
         biceB -= 2;
         NSInteger timerd = sizeof(register_w1) / sizeof(register_w1[0]);
         register_w1[2] ^= 3 & timerd;
      if ((timerv[0] - numberX) >= 5) {
          NSInteger infoJ = 2;
          char interM[] = {(char)-12,113,(char)-87,(char)-87,(char)-82,107,31,106,(char)-73,86,(char)-74,(char)-76};
          BOOL reqH = YES;
          int urld = 0;
         int timer7 = sizeof(timerv) / sizeof(timerv[0]);
         timerv[4] ^= (1 + timer7) & interM[10];
         infoJ ^= ((reqH ? 5 : 5) ^ urld);
         interM[MAX(infoJ % 12, 11)] ^= 1;
         reqH = 75 < urld && reqH;
      }
      if (5 >= (numberX / 2) && 2 >= (numberX / (MAX(timerv[7], 7)))) {
          double home2 = 1.0f;
         numberX -= 2;
         home2 -= 2;
      }
       NSString * btnB = @"o_21";
      numberX += across2.count + 5;
      if (across2.count == 2438739) {
         break;
      }
   } while ((across2.count == 2438739) && (2 <= launchO[4]));
   for (int c = 0; c < 2; c++) {
      vodX[0] <<= MIN(5, labs(1 * across2.count));
   }

    [self.view_web removeObserver:self forKeyPath:@"estimatedProgress"];
   if ((vodX[0] << (MIN(labs(4), 5))) < 4 || 3 < (across2.count << (MIN(labs(4), 4)))) {
       double k_viewi = 1.0f;
       NSArray * infoW = [NSArray arrayWithObjects:@"mpegaudiodata", @"notifies", @"activator", nil];
       unsigned char y_titleE[] = {168,173,237,188,29,163,32};
       BOOL requestW = YES;
       int again1 = 5;
         y_titleE[5] &= 3;
      while (1.39f < (5.95f + k_viewi)) {
         long register_ewc = sizeof(y_titleE) / sizeof(y_titleE[0]);
         k_viewi += register_ewc;
         break;
      }
          unsigned char ynews_[] = {176,182,161,200};
         again1 *= infoW.count;
         NSInteger timerB = sizeof(ynews_) / sizeof(ynews_[0]);
         ynews_[0] <<= MIN(3, labs(ynews_[3] ^ timerB));
         again1 >>= MIN(5, labs(1));
      while (2 <= (4 / (MAX(5, infoW.count))) && 5 <= (4 ^ infoW.count)) {
         again1 |= 1 * infoW.count;
         break;
      }
         y_titleE[5] %= MAX(1, ((requestW ? 3 : 5) ^ again1));
      while (1 >= (k_viewi / (MAX(3.83f, 8))) || requestW) {
         k_viewi /= MAX(1, y_titleE[6] | (int)k_viewi);
         break;
      }
      while (again1 >= 3) {
          int loginX = 0;
          float lbly = 1.0f;
         requestW = requestW;
         loginX %= MAX(5, 2);
         lbly *= loginX | 1;
         break;
      }
         y_titleE[6] -= (int)k_viewi + 2;
      do {
          long launchn = 1;
          NSInteger homeZ = 2;
          char editG[] = {107,(char)-65,(char)-116,(char)-84,25,54,(char)-86,(char)-79,(char)-126,(char)-33};
          char buttonG[] = {127,27,(char)-86,89,59,(char)-97,(char)-95,(char)-7,42,78};
         y_titleE[3] /= MAX(2, (int)k_viewi);
         launchn *= launchn;
         homeZ <<= MIN(labs(homeZ * launchn), 4);
         editG[MAX(homeZ % 10, 9)] /= MAX(launchn % (MAX(9, homeZ)), 3);
         buttonG[MAX(7, homeZ % 10)] -= editG[8];
         if (across2.count == 3676353) {
            break;
         }
      } while ((across2.count == 3676353) && (5 <= k_viewi));
      do {
         again1 /= MAX((int)k_viewi & 3, 1);
         if (411840 == again1) {
            break;
         }
      } while ((411840 == again1) && (again1 > y_titleE[4]));
         again1 += again1 & 3;
      if ((infoW.count & 1) <= 3) {
         again1 *= infoW.count;
      }
      do {
         again1 -= (int)k_viewi << (MIN(labs(2), 3));
         if (3149798 == again1) {
            break;
         }
      } while ((3 > again1) && (3149798 == again1));
      if ((1.25f + k_viewi) < 5) {
         y_titleE[3] %= MAX(y_titleE[1] << (MIN(4, labs(again1))), 3);
      }
      again1 |= across2.count * 4;
   }
       double layE = 3.0f;
       long urlL = 4;
          int eedbackt = 1;
         layE *= urlL;
         eedbackt *= eedbackt;
       NSArray * tempd = [NSArray arrayWithObjects:@(970), @(49), nil];
       NSArray * q_viewB = @[@"juggle", @"reda"];
         urlL &= q_viewB.count;
      for (int z = 0; z < 2; z++) {
         urlL *= urlL;
      }
         urlL %= MAX(q_viewB.count, 3);
          char eedbackl[] = {110,48,69,(char)-123,(char)-21,9};
          NSInteger unewsf = 4;
          double homex = 2.0f;
         unewsf >>= MIN(3, tempd.count);
         eedbackl[1] |= (int)homex;
         unewsf -= (int)homex;
      launchO[MAX(urlL % 7, 1)] |= urlL;
    [self.view_web removeObserver:self forKeyPath:@"title"];
}

@end
